On Wed, May 12, 2010 at 02:13:26PM +0800, Xu, Dongxiao wrote:
> >> - ept_sync_global();
> >> + if (vmm_exclusive) {
> >> + kvm_cpu_vmxon(phys_addr);
> >> + ept_sync_global();
> >> + }
> >>
> >> return 0;
> >
> > The documentation recommends usage of INVEPT all-context after
> > execution of VMXON and prior to execution of VMXOFF. Is it not
> > necessary?
>
> After adding the patch, when vCPU is scheduled in a CPU, it will call
> tlb_flush() to invalidate the EPT and VPID cache/tlb for the vCPU.
> Therefore the correctness for KVM is guaranteed.
Correct. Applied all, thanks.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html