diff options
author | Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> | 2016-05-04 15:09:45 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-18 12:04:28 -0400 |
commit | 3d5615e5342781453633af7107d72afd601b36a7 (patch) | |
tree | 6bef86aa4fdb36bdbb24dd69efb8ca1718d46da7 | |
parent | dd1a4cc1fbdf516bb38ca31b65c76e720d414d0d (diff) |
svm: Introduce new AVIC VMCB registers
Introduce new AVIC VMCB registers.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/include/asm/svm.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index 6136d99f537b..4711fa4457f3 100644 --- a/arch/x86/include/asm/svm.h +++ b/arch/x86/include/asm/svm.h | |||
@@ -78,7 +78,8 @@ struct __attribute__ ((__packed__)) vmcb_control_area { | |||
78 | u32 exit_int_info; | 78 | u32 exit_int_info; |
79 | u32 exit_int_info_err; | 79 | u32 exit_int_info_err; |
80 | u64 nested_ctl; | 80 | u64 nested_ctl; |
81 | u8 reserved_4[16]; | 81 | u64 avic_vapic_bar; |
82 | u8 reserved_4[8]; | ||
82 | u32 event_inj; | 83 | u32 event_inj; |
83 | u32 event_inj_err; | 84 | u32 event_inj_err; |
84 | u64 nested_cr3; | 85 | u64 nested_cr3; |
@@ -88,7 +89,11 @@ struct __attribute__ ((__packed__)) vmcb_control_area { | |||
88 | u64 next_rip; | 89 | u64 next_rip; |
89 | u8 insn_len; | 90 | u8 insn_len; |
90 | u8 insn_bytes[15]; | 91 | u8 insn_bytes[15]; |
91 | u8 reserved_6[800]; | 92 | u64 avic_backing_page; /* Offset 0xe0 */ |
93 | u8 reserved_6[8]; /* Offset 0xe8 */ | ||
94 | u64 avic_logical_id; /* Offset 0xf0 */ | ||
95 | u64 avic_physical_id; /* Offset 0xf8 */ | ||
96 | u8 reserved_7[768]; | ||
92 | }; | 97 | }; |
93 | 98 | ||
94 | 99 | ||