K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-14T04:42:35.323716Z K 7 svn:log V 529 Stash the 'pmap' and 'eptp' for the VM in each vcpu's vmxctx since they are accessed in the vmresume fast path. Set the bit corresponding to 'curcpu' in nested pmap's 'pm_active' on a vm enter. This allow's the TLB shootdown on the host to know what cpus need to participate. Invalidate the guest physical mappings using 'invept' if the 'vmxctx->eptgen' if out-of-date with the nested pmap's 'pm_eptgen'. If the 'invept' instruction fails then vmx_launch() or vmx_resume() may return with an error code of 'VMX_RETURN_INVEPT'. END