Skip to content

Commit

Permalink
KVM: VMX: Add definition for msr autoload entry
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Avi Kivity committed May 19, 2010
1 parent 0ee75be commit 19b95db
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/x86/include/asm/vmx.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*
*/

#include <linux/types.h>

/*
* Definitions of Primary Processor-Based VM-Execution Controls.
*/
Expand Down Expand Up @@ -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

0 comments on commit 19b95db

Please sign in to comment.