Re: [PATCH v3 10/13] nEPT: Nested INVEPT

2013-05-21 Thread Xiao Guangrong
On 05/19/2013 12:52 PM, Jun Nakajima wrote: > From: Nadav Har'El > > If we let L1 use EPT, we should probably also support the INVEPT instruction. > > In our current nested EPT implementation, when L1 changes its EPT table for > L2 (i.e., EPT12), L0 modifies the shadow EPT table (EPT02), and in

Re: [PATCH v3 10/13] nEPT: Nested INVEPT

2013-05-20 Thread Paolo Bonzini
Il 19/05/2013 06:52, Jun Nakajima ha scritto: > + switch (type) { > + case VMX_EPT_EXTENT_GLOBAL: > + if (!(nested_vmx_ept_caps & VMX_EPT_EXTENT_GLOBAL_BIT)) > + nested_vmx_failValid(vcpu, > + VMXERR_INVALID_OPERAND_TO_INVEPT_INVVP

[PATCH v3 10/13] nEPT: Nested INVEPT

2013-05-18 Thread Jun Nakajima
From: Nadav Har'El If we let L1 use EPT, we should probably also support the INVEPT instruction. In our current nested EPT implementation, when L1 changes its EPT table for L2 (i.e., EPT12), L0 modifies the shadow EPT table (EPT02), and in the course of this modification already calls INVEPT. Th

[PATCH v3 10/13] nEPT: Nested INVEPT

2013-05-08 Thread Jun Nakajima
If we let L1 use EPT, we should probably also support the INVEPT instruction. In our current nested EPT implementation, when L1 changes its EPT table for L2 (i.e., EPT12), L0 modifies the shadow EPT table (EPT02), and in the course of this modification already calls INVEPT. Therefore, when L1 call