|
71 | 71 | #define SECONDARY_EXEC_ENCLS_EXITING VMCS_CONTROL_BIT(ENCLS_EXITING)
|
72 | 72 | #define SECONDARY_EXEC_RDSEED_EXITING VMCS_CONTROL_BIT(RDSEED_EXITING)
|
73 | 73 | #define SECONDARY_EXEC_ENABLE_PML VMCS_CONTROL_BIT(PAGE_MOD_LOGGING)
|
| 74 | +#define SECONDARY_EXEC_EPT_VIOLATION_VE VMCS_CONTROL_BIT(EPT_VIOLATION_VE) |
74 | 75 | #define SECONDARY_EXEC_PT_CONCEAL_VMX VMCS_CONTROL_BIT(PT_CONCEAL_VMX)
|
75 | 76 | #define SECONDARY_EXEC_ENABLE_XSAVES VMCS_CONTROL_BIT(XSAVES)
|
76 | 77 | #define SECONDARY_EXEC_MODE_BASED_EPT_EXEC VMCS_CONTROL_BIT(MODE_BASED_EPT_EXEC)
|
@@ -226,6 +227,8 @@ enum vmcs_field {
|
226 | 227 | VMREAD_BITMAP_HIGH = 0x00002027,
|
227 | 228 | VMWRITE_BITMAP = 0x00002028,
|
228 | 229 | VMWRITE_BITMAP_HIGH = 0x00002029,
|
| 230 | + VE_INFORMATION_ADDRESS = 0x0000202A, |
| 231 | + VE_INFORMATION_ADDRESS_HIGH = 0x0000202B, |
229 | 232 | XSS_EXIT_BITMAP = 0x0000202C,
|
230 | 233 | XSS_EXIT_BITMAP_HIGH = 0x0000202D,
|
231 | 234 | ENCLS_EXITING_BITMAP = 0x0000202E,
|
@@ -631,4 +634,13 @@ enum vmx_l1d_flush_state {
|
631 | 634 |
|
632 | 635 | extern enum vmx_l1d_flush_state l1tf_vmx_mitigation;
|
633 | 636 |
|
| 637 | +struct vmx_ve_information { |
| 638 | + u32 exit_reason; |
| 639 | + u32 delivery; |
| 640 | + u64 exit_qualification; |
| 641 | + u64 guest_linear_address; |
| 642 | + u64 guest_physical_address; |
| 643 | + u16 eptp_index; |
| 644 | +}; |
| 645 | + |
634 | 646 | #endif
|
0 commit comments