diff options
author | Avi Kivity <avi@redhat.com> | 2010-04-28 15:40:31 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 11:36:30 +0300 |
commit | 19b95dba0324e55505682a18ff9a437fbf4a2592 (patch) | |
tree | a172faed32e84ceb21ee646b52fb9e059ea585c4 | |
parent | 0ee75bead83da4791e5cbf659806c54d8ee40f12 (diff) | |
download | op-kernel-dev-19b95dba0324e55505682a18ff9a437fbf4a2592.zip op-kernel-dev-19b95dba0324e55505682a18ff9a437fbf4a2592.tar.gz |
KVM: VMX: Add definition for msr autoload entry
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | arch/x86/include/asm/vmx.h | 8 |
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 |