diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index e65a158dee64..e26629fbf1d7 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -6241,49 +6241,6 @@ static u64 vmx_get_mt_mask(struct kvm_vcpu *vcpu, gfn_t gfn, bool is_mmio) | |||
6241 | return ret; | 6241 | return ret; |
6242 | } | 6242 | } |
6243 | 6243 | ||
6244 | #define _ER(x) { EXIT_REASON_##x, #x } | ||
6245 | |||
6246 | static const struct trace_print_flags vmx_exit_reasons_str[] = { | ||
6247 | _ER(EXCEPTION_NMI), | ||
6248 | _ER(EXTERNAL_INTERRUPT), | ||
6249 | _ER(TRIPLE_FAULT), | ||
6250 | _ER(PENDING_INTERRUPT), | ||
6251 | _ER(NMI_WINDOW), | ||
6252 | _ER(TASK_SWITCH), | ||
6253 | _ER(CPUID), | ||
6254 | _ER(HLT), | ||
6255 | _ER(INVLPG), | ||
6256 | _ER(RDPMC), | ||
6257 | _ER(RDTSC), | ||
6258 | _ER(VMCALL), | ||
6259 | _ER(VMCLEAR), | ||
6260 | _ER(VMLAUNCH), | ||
6261 | _ER(VMPTRLD), | ||
6262 | _ER(VMPTRST), | ||
6263 | _ER(VMREAD), | ||
6264 | _ER(VMRESUME), | ||
6265 | _ER(VMWRITE), | ||
6266 | _ER(VMOFF), | ||
6267 | _ER(VMON), | ||
6268 | _ER(CR_ACCESS), | ||
6269 | _ER(DR_ACCESS), | ||
6270 | _ER(IO_INSTRUCTION), | ||
6271 | _ER(MSR_READ), | ||
6272 | _ER(MSR_WRITE), | ||
6273 | _ER(MWAIT_INSTRUCTION), | ||
6274 | _ER(MONITOR_INSTRUCTION), | ||
6275 | _ER(PAUSE_INSTRUCTION), | ||
6276 | _ER(MCE_DURING_VMENTRY), | ||
6277 | _ER(TPR_BELOW_THRESHOLD), | ||
6278 | _ER(APIC_ACCESS), | ||
6279 | _ER(EPT_VIOLATION), | ||
6280 | _ER(EPT_MISCONFIG), | ||
6281 | _ER(WBINVD), | ||
6282 | { -1, NULL } | ||
6283 | }; | ||
6284 | |||
6285 | #undef _ER | ||
6286 | |||
6287 | static int vmx_get_lpage_level(void) | 6244 | static int vmx_get_lpage_level(void) |
6288 | { | 6245 | { |
6289 | if (enable_ept && !cpu_has_vmx_ept_1g_page()) | 6246 | if (enable_ept && !cpu_has_vmx_ept_1g_page()) |
@@ -7039,7 +6996,6 @@ static struct kvm_x86_ops vmx_x86_ops = { | |||
7039 | .get_mt_mask = vmx_get_mt_mask, | 6996 | .get_mt_mask = vmx_get_mt_mask, |
7040 | 6997 | ||
7041 | .get_exit_info = vmx_get_exit_info, | 6998 | .get_exit_info = vmx_get_exit_info, |
7042 | .exit_reasons_str = vmx_exit_reasons_str, | ||
7043 | 6999 | ||
7044 | .get_lpage_level = vmx_get_lpage_level, | 7000 | .get_lpage_level = vmx_get_lpage_level, |
7045 | 7001 | ||