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)
commit1e9931146c748420343aeefadb3bb17bd1c14a37
tree79fbd36489a004694c8bed03458808d1d3851c29
parent6210e37b122583643da335c0389f74098713e5ca
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