KVM: VMX: unifdef the EFER specific code
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 31 Jan 2008 13:57:39 +0000 (14:57 +0100)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:18 +0000 (11:53 +0300)
commit9f62e19a1107466b9e9501e23a9dd5acb81fdca1
treebb99f0372f4ac48a1d341ce340a422abe0c4d9aa
parent50a37eb4e05efaa7bac6a948fd4db1a48c728b99
KVM: VMX: unifdef the EFER specific code

To allow access to the EFER register in 32bit KVM the EFER specific code has to
be exported to the x86 generic code. This patch does this in a backwards
compatible manner.

[avi: add check for EFER-less hosts]

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c
This page took 0.024936 seconds and 5 git commands to generate.