summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-04-28 12:40:31 (GMT)
committerAvi Kivity <avi@redhat.com>2010-05-19 08:36:30 (GMT)
commit19b95dba0324e55505682a18ff9a437fbf4a2592 (patch)
treea172faed32e84ceb21ee646b52fb9e059ea585c4
parent0ee75bead83da4791e5cbf659806c54d8ee40f12 (diff)
downloadlinux-fsl-qoriq-19b95dba0324e55505682a18ff9a437fbf4a2592.tar.xz
KVM: VMX: Add definition for msr autoload entry
Signed-off-by: Avi Kivity <avi@redhat.com>
-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 fb9a080..4497318 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