Re: [PATCH 1/5] mmu: mark spte present if the x bit is set

From: Wanpeng Li
Date: Mon Jul 04 2016 - 23:06:52 EST


2016-06-29 4:49 GMT+08:00 Paolo Bonzini <pbonzini@xxxxxxxxxx>:
[...]
>
> I think another way to write it is "(pte & 0xFFFFFFFFull) &&
> !is_mmio_spte(pte)", since non-present/non-MMIO SPTEs never use bits

I misunderstand it here, this will also treat -W- EPT SPTEs as present, right?

Regards,
Wanpeng Li