KVM: VMX: move cpu_has_kvm_support() to an inline on asm/virtext.h
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Nov 2008 21:03:16 +0000 (19:03 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:52:28 +0000 (16:52 +0200)
commit6210e37b122583643da335c0389f74098713e5ca
tree779f5a7b90ffec49d2eda03c5f30cf6d79395766
parenteca70fc5671b226966dfb7ee9953d59199288566
KVM: VMX: move cpu_has_kvm_support() to an inline on asm/virtext.h

It will be used by core code on kdump and reboot, to disable
vmx if needed.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/virtext.h [new file with mode: 0644]
arch/x86/kvm/vmx.c