summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-10-20 09:34:38 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 16:52:54 +0100
commit34c16eecf78ed4cf01f39ac7211f5b57942ec899 (patch)
tree9a9d6192db411cc3c7ff665cc94a8797eb55aa80 /drivers/kvm/vmx.c
parentKVM: Allocate userspace memory for older userspace (diff)
downloadlinux-34c16eecf78ed4cf01f39ac7211f5b57942ec899.tar.xz
linux-34c16eecf78ed4cf01f39ac7211f5b57942ec899.zip
KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1)
First step to split kvm_vcpu. Currently, we just use an macro to define the common fields in kvm_vcpu for all archs, and all archs need to define its own kvm_vcpu struct. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 9f77ddbeb025..87ff35128825 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -16,6 +16,7 @@
*/
#include "kvm.h"
+#include "x86.h"
#include "x86_emulate.h"
#include "irq.h"
#include "vmx.h"