Re: [PATCH 1/3] KVM: x86: assign two bits to track SPTE kinds

2019-09-26 Thread Junaid Shahid
On 9/26/19 10:18 AM, Paolo Bonzini wrote: > Currently, we are overloading SPTE_SPECIAL_MASK to mean both > "A/D bits unavailable" and MMIO, where the difference between the > two is determined by mio_mask and mmio_value. > > However, the next patch will need two bits to distinguish >

[PATCH 1/3] KVM: x86: assign two bits to track SPTE kinds

2019-09-26 Thread Paolo Bonzini
Currently, we are overloading SPTE_SPECIAL_MASK to mean both "A/D bits unavailable" and MMIO, where the difference between the two is determined by mio_mask and mmio_value. However, the next patch will need two bits to distinguish availability of A/D bits from write protection. So, while at it