1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_X86_VMXFEATURES_H 3 #define _ASM_X86_VMXFEATURES_H 4 5 /* 6 * Defines VMX CPU feature bits 7 */ 8 #define NVMXINTS 5 /* N 9 10 /* 11 * Note: If the comment begins with a quoted s 12 * in /proc/cpuinfo instead of the macro name. 13 * is not displayed in /proc/cpuinfo at all. 14 */ 15 16 /* Pin-Based VM-Execution Controls, EPT/VPID, 17 #define VMX_FEATURE_INTR_EXITING ( 0*32 18 #define VMX_FEATURE_NMI_EXITING ( 0*32 19 #define VMX_FEATURE_VIRTUAL_NMIS ( 0*32 20 #define VMX_FEATURE_PREEMPTION_TIMER ( 0*32 21 #define VMX_FEATURE_POSTED_INTR ( 0*32 22 23 /* EPT/VPID features, scattered to bits 16-23 24 #define VMX_FEATURE_INVVPID ( 0*32 25 #define VMX_FEATURE_EPT_EXECUTE_ONLY ( 0*32 26 #define VMX_FEATURE_EPT_AD ( 0*32 27 #define VMX_FEATURE_EPT_1GB ( 0*32 28 #define VMX_FEATURE_EPT_5LEVEL ( 0*32 29 30 /* Aggregated APIC features 24-27 */ 31 #define VMX_FEATURE_FLEXPRIORITY ( 0*32 32 #define VMX_FEATURE_APICV ( 0*32 33 34 /* VM-Functions, shifted to bits 28-31 */ 35 #define VMX_FEATURE_EPTP_SWITCHING ( 0*32 36 37 /* Primary Processor-Based VM-Execution Contro 38 #define VMX_FEATURE_INTR_WINDOW_EXITING ( 1*32 39 #define VMX_FEATURE_USE_TSC_OFFSETTING ( 1*32 40 #define VMX_FEATURE_HLT_EXITING ( 1*32 41 #define VMX_FEATURE_INVLPG_EXITING ( 1*32 42 #define VMX_FEATURE_MWAIT_EXITING ( 1*32 43 #define VMX_FEATURE_RDPMC_EXITING ( 1*32 44 #define VMX_FEATURE_RDTSC_EXITING ( 1*32 45 #define VMX_FEATURE_CR3_LOAD_EXITING ( 1*32 46 #define VMX_FEATURE_CR3_STORE_EXITING ( 1*32 47 #define VMX_FEATURE_TERTIARY_CONTROLS ( 1*32 48 #define VMX_FEATURE_CR8_LOAD_EXITING ( 1*32 49 #define VMX_FEATURE_CR8_STORE_EXITING ( 1*32 50 #define VMX_FEATURE_VIRTUAL_TPR ( 1*32 51 #define VMX_FEATURE_NMI_WINDOW_EXITING ( 1*32 52 #define VMX_FEATURE_MOV_DR_EXITING ( 1*32 53 #define VMX_FEATURE_UNCOND_IO_EXITING ( 1*32 54 #define VMX_FEATURE_USE_IO_BITMAPS ( 1*32 55 #define VMX_FEATURE_MONITOR_TRAP_FLAG ( 1*32 56 #define VMX_FEATURE_USE_MSR_BITMAPS ( 1*32 57 #define VMX_FEATURE_MONITOR_EXITING ( 1*32 58 #define VMX_FEATURE_PAUSE_EXITING ( 1*32 59 #define VMX_FEATURE_SEC_CONTROLS ( 1*32 60 61 /* Secondary Processor-Based VM-Execution Cont 62 #define VMX_FEATURE_VIRT_APIC_ACCESSES ( 2*32 63 #define VMX_FEATURE_EPT ( 2*32 64 #define VMX_FEATURE_DESC_EXITING ( 2*32 65 #define VMX_FEATURE_RDTSCP ( 2*32 66 #define VMX_FEATURE_VIRTUAL_X2APIC ( 2*32 67 #define VMX_FEATURE_VPID ( 2*32 68 #define VMX_FEATURE_WBINVD_EXITING ( 2*32 69 #define VMX_FEATURE_UNRESTRICTED_GUEST ( 2*32 70 #define VMX_FEATURE_APIC_REGISTER_VIRT ( 2*32 71 #define VMX_FEATURE_VIRT_INTR_DELIVERY ( 2*32 72 #define VMX_FEATURE_PAUSE_LOOP_EXITING ( 2*32 73 #define VMX_FEATURE_RDRAND_EXITING ( 2*32 74 #define VMX_FEATURE_INVPCID ( 2*32 75 #define VMX_FEATURE_VMFUNC ( 2*32 76 #define VMX_FEATURE_SHADOW_VMCS ( 2*32 77 #define VMX_FEATURE_ENCLS_EXITING ( 2*32 78 #define VMX_FEATURE_RDSEED_EXITING ( 2*32 79 #define VMX_FEATURE_PAGE_MOD_LOGGING ( 2*32 80 #define VMX_FEATURE_EPT_VIOLATION_VE ( 2*32 81 #define VMX_FEATURE_PT_CONCEAL_VMX ( 2*32 82 #define VMX_FEATURE_XSAVES ( 2*32 83 #define VMX_FEATURE_MODE_BASED_EPT_EXEC ( 2*32 84 #define VMX_FEATURE_PT_USE_GPA ( 2*32 85 #define VMX_FEATURE_TSC_SCALING ( 2*32 86 #define VMX_FEATURE_USR_WAIT_PAUSE ( 2*32 87 #define VMX_FEATURE_ENCLV_EXITING ( 2*32 88 #define VMX_FEATURE_BUS_LOCK_DETECTION ( 2*32 89 #define VMX_FEATURE_NOTIFY_VM_EXITING ( 2*32 90 91 /* Tertiary Processor-Based VM-Execution Contr 92 #define VMX_FEATURE_IPI_VIRT ( 3*32 93 #endif /* _ASM_X86_VMXFEATURES_H */ 94
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.