summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/vmx.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-28 16:40:31 +0400
committerAvi Kivity <avi@redhat.com>2010-05-19 12:36:30 +0400
commit19b95dba0324e55505682a18ff9a437fbf4a2592 (patch)
treea172faed32e84ceb21ee646b52fb9e059ea585c4 /arch/x86/include/asm/vmx.h
parent0ee75bead83da4791e5cbf659806c54d8ee40f12 (diff)
downloadlinux-19b95dba0324e55505682a18ff9a437fbf4a2592.tar.xz
KVM: VMX: Add definition for msr autoload entry
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/vmx.h')
-rw-r--r--arch/x86/include/asm/vmx.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index fb9a080740ec..449731890763 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -25,6 +25,8 @@
*
*/
+#include <linux/types.h>
+
/*
* Definitions of Primary Processor-Based VM-Execution Controls.
*/
@@ -394,6 +396,10 @@ enum vmcs_field {
#define ASM_VMX_INVEPT ".byte 0x66, 0x0f, 0x38, 0x80, 0x08"
#define ASM_VMX_INVVPID ".byte 0x66, 0x0f, 0x38, 0x81, 0x08"
-
+struct vmx_msr_entry {
+ u32 index;
+ u32 reserved;
+ u64 value;
+} __aligned(16);
#endif