]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Define new functions to wrapper direct call of asm code
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 11 May 2010 10:29:38 +0000 (18:29 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:41 +0000 (10:35 +0300)
commit3990cadedce76196c755779b53200c9d24cb17f1
tree1e96bbd57950801e6f8396752cb8bff2fc2a8ffa
parente588a7410ddd1bef2aaa91d0e075e9a5b865faa0
KVM: VMX: Define new functions to wrapper direct call of asm code

Define vmcs_load() and kvm_cpu_vmxon() to avoid direct call of asm
code. Also move VMXE bit operation out of kvm_cpu_vmxoff().

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