]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: VMCLEAR/VMPTRLD usage changes
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 11 May 2010 10:29:45 +0000 (18:29 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:42 +0000 (10:35 +0300)
commitcc9115dbb69ec46bf3ab6f813a6bf61f2bccbbc3
tree71652285850011abeea56b6f444498cffd66fd45
parent41f12620acef151ad122fd5d656e9ddcb3272edc
KVM: VMX: VMCLEAR/VMPTRLD usage changes

Originally VMCLEAR/VMPTRLD is called on vcpu migration. To
support hosted VMM coexistance, VMCLEAR is executed on vcpu
schedule out, and VMPTRLD is executed on vcpu schedule in.
This could also eliminate the IPI when doing VMCLEAR.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c