]> git.baikalelectronics.ru Git - kernel.git/commit
x86: asm/virtext.h: add cpu_vmxoff() inline function
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Nov 2008 21:03:17 +0000 (19:03 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:52:29 +0000 (16:52 +0200)
commit41695e9a2deacdc2797e713ccf9faa02e074661a
tree79fbd36489a004694c8bed03458808d1d3851c29
parentbf083493b9d56b2d00074c959bb243c568ed44c6
x86: asm/virtext.h: add cpu_vmxoff() inline function

Unfortunately we can't use exactly the same code from vmx
hardware_disable(), because the KVM function uses the
__kvm_handle_fault_on_reboot() tricks.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/virtext.h