Re: [PATCH 2/5] mmu: pass execonly value when initializing rsvd bits

2016-06-28 Thread Xiao Guangrong
On 06/28/2016 12:32 PM, Bandan Das wrote: In reset_tdp_shadow_zero_bits_mask, we always pass false when initializing the reserved bits. By initializing with the correct value of ept exec only, the host can correctly identify if the guest pte is valid. Note that kvm_init_shadow_ept_mmu()

Re: [PATCH 2/5] mmu: pass execonly value when initializing rsvd bits

2016-06-28 Thread Xiao Guangrong
On 06/28/2016 12:32 PM, Bandan Das wrote: In reset_tdp_shadow_zero_bits_mask, we always pass false when initializing the reserved bits. By initializing with the correct value of ept exec only, the host can correctly identify if the guest pte is valid. Note that kvm_init_shadow_ept_mmu()

[PATCH 2/5] mmu: pass execonly value when initializing rsvd bits

2016-06-27 Thread Bandan Das
In reset_tdp_shadow_zero_bits_mask, we always pass false when initializing the reserved bits. By initializing with the correct value of ept exec only, the host can correctly identify if the guest pte is valid. Note that kvm_init_shadow_ept_mmu() already knows about execonly. Signed-off-by: Bandan

[PATCH 2/5] mmu: pass execonly value when initializing rsvd bits

2016-06-27 Thread Bandan Das
In reset_tdp_shadow_zero_bits_mask, we always pass false when initializing the reserved bits. By initializing with the correct value of ept exec only, the host can correctly identify if the guest pte is valid. Note that kvm_init_shadow_ept_mmu() already knows about execonly. Signed-off-by: Bandan