KVM: VMX: VMXON/VMXOFF usage changes
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 11 May 2010 10:29:48 +0000 (18:29 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:43 +0000 (10:35 +0300)
SDM suggests VMXON should be called before VMPTRLD, and VMXOFF
should be called after doing VMCLEAR.

Therefore in vmm coexistence case, we should firstly call VMXON
before any VMCS operation, and then call VMXOFF after the
operation is done.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found