[PATCH] KVM: VMX: call invvpid only when EPT is disabled

2012-03-14 Thread Davidlohr Bueso
From: Davidlohr Bueso With EPT enabled it is not required to explicitly run invvpid to invalidate tagged TLB entries, as KVM does not force vm-exits for cr3 writes and invlpg. Run invvpid only when these instructions are emulated and shadow pages are used. Signed-off-by: Davidlohr Bueso ---

Re: [PATCH] KVM: VMX: call invvpid only when EPT is disabled

2012-03-15 Thread Avi Kivity
On 03/15/2012 03:44 AM, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > With EPT enabled it is not required to explicitly run invvpid to invalidate > tagged TLB entries, as > KVM does not force vm-exits for cr3 writes and invlpg. Run invvpid only when > these instructions > are emulated and s