]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Implement VMXON and VMXOFF
authorNadav Har'El <nyh@il.ibm.com>
Wed, 25 May 2011 20:02:54 +0000 (23:02 +0300)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:09 +0000 (11:45 +0300)
commit1eb91cc48533bd434608c8a093985740b3fda9b9
treed6ae108db5cae27c7b07fa16f78c5eaafa2096d9
parentcbf9db4a1c3b17bb98a0526eb25bdc6c3719833d
KVM: nVMX: Implement VMXON and VMXOFF

This patch allows a guest to use the VMXON and VMXOFF instructions, and
emulates them accordingly. Basically this amounts to checking some
prerequisites, and then remembering whether the guest has enabled or disabled
VMX operation.

Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c