Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19b95dba authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Add definition for msr autoload entry



Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 0ee75bea
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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