mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
KVM: VMX: add missing exit reasons
In order to simplify adding exit reasons in the future, the array of exit reason names is now also sorted by exit reason code. Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
This commit is contained in:
parent
ae1e2d1082
commit
1f51999270
@ -76,7 +76,11 @@
|
|||||||
#define EXIT_REASON_WBINVD 54
|
#define EXIT_REASON_WBINVD 54
|
||||||
#define EXIT_REASON_XSETBV 55
|
#define EXIT_REASON_XSETBV 55
|
||||||
#define EXIT_REASON_APIC_WRITE 56
|
#define EXIT_REASON_APIC_WRITE 56
|
||||||
|
#define EXIT_REASON_RDRAND 57
|
||||||
#define EXIT_REASON_INVPCID 58
|
#define EXIT_REASON_INVPCID 58
|
||||||
|
#define EXIT_REASON_VMFUNC 59
|
||||||
|
#define EXIT_REASON_ENCLS 60
|
||||||
|
#define EXIT_REASON_RDSEED 61
|
||||||
#define EXIT_REASON_PML_FULL 62
|
#define EXIT_REASON_PML_FULL 62
|
||||||
#define EXIT_REASON_XSAVES 63
|
#define EXIT_REASON_XSAVES 63
|
||||||
#define EXIT_REASON_XRSTORS 64
|
#define EXIT_REASON_XRSTORS 64
|
||||||
@ -90,6 +94,7 @@
|
|||||||
{ EXIT_REASON_TASK_SWITCH, "TASK_SWITCH" }, \
|
{ EXIT_REASON_TASK_SWITCH, "TASK_SWITCH" }, \
|
||||||
{ EXIT_REASON_CPUID, "CPUID" }, \
|
{ EXIT_REASON_CPUID, "CPUID" }, \
|
||||||
{ EXIT_REASON_HLT, "HLT" }, \
|
{ EXIT_REASON_HLT, "HLT" }, \
|
||||||
|
{ EXIT_REASON_INVD, "INVD" }, \
|
||||||
{ EXIT_REASON_INVLPG, "INVLPG" }, \
|
{ EXIT_REASON_INVLPG, "INVLPG" }, \
|
||||||
{ EXIT_REASON_RDPMC, "RDPMC" }, \
|
{ EXIT_REASON_RDPMC, "RDPMC" }, \
|
||||||
{ EXIT_REASON_RDTSC, "RDTSC" }, \
|
{ EXIT_REASON_RDTSC, "RDTSC" }, \
|
||||||
@ -108,6 +113,8 @@
|
|||||||
{ EXIT_REASON_IO_INSTRUCTION, "IO_INSTRUCTION" }, \
|
{ EXIT_REASON_IO_INSTRUCTION, "IO_INSTRUCTION" }, \
|
||||||
{ EXIT_REASON_MSR_READ, "MSR_READ" }, \
|
{ EXIT_REASON_MSR_READ, "MSR_READ" }, \
|
||||||
{ EXIT_REASON_MSR_WRITE, "MSR_WRITE" }, \
|
{ EXIT_REASON_MSR_WRITE, "MSR_WRITE" }, \
|
||||||
|
{ EXIT_REASON_INVALID_STATE, "INVALID_STATE" }, \
|
||||||
|
{ EXIT_REASON_MSR_LOAD_FAIL, "MSR_LOAD_FAIL" }, \
|
||||||
{ EXIT_REASON_MWAIT_INSTRUCTION, "MWAIT_INSTRUCTION" }, \
|
{ EXIT_REASON_MWAIT_INSTRUCTION, "MWAIT_INSTRUCTION" }, \
|
||||||
{ EXIT_REASON_MONITOR_TRAP_FLAG, "MONITOR_TRAP_FLAG" }, \
|
{ EXIT_REASON_MONITOR_TRAP_FLAG, "MONITOR_TRAP_FLAG" }, \
|
||||||
{ EXIT_REASON_MONITOR_INSTRUCTION, "MONITOR_INSTRUCTION" }, \
|
{ EXIT_REASON_MONITOR_INSTRUCTION, "MONITOR_INSTRUCTION" }, \
|
||||||
@ -115,20 +122,24 @@
|
|||||||
{ EXIT_REASON_MCE_DURING_VMENTRY, "MCE_DURING_VMENTRY" }, \
|
{ EXIT_REASON_MCE_DURING_VMENTRY, "MCE_DURING_VMENTRY" }, \
|
||||||
{ EXIT_REASON_TPR_BELOW_THRESHOLD, "TPR_BELOW_THRESHOLD" }, \
|
{ EXIT_REASON_TPR_BELOW_THRESHOLD, "TPR_BELOW_THRESHOLD" }, \
|
||||||
{ EXIT_REASON_APIC_ACCESS, "APIC_ACCESS" }, \
|
{ EXIT_REASON_APIC_ACCESS, "APIC_ACCESS" }, \
|
||||||
{ EXIT_REASON_GDTR_IDTR, "GDTR_IDTR" }, \
|
{ EXIT_REASON_EOI_INDUCED, "EOI_INDUCED" }, \
|
||||||
{ EXIT_REASON_LDTR_TR, "LDTR_TR" }, \
|
{ EXIT_REASON_GDTR_IDTR, "GDTR_IDTR" }, \
|
||||||
|
{ EXIT_REASON_LDTR_TR, "LDTR_TR" }, \
|
||||||
{ EXIT_REASON_EPT_VIOLATION, "EPT_VIOLATION" }, \
|
{ EXIT_REASON_EPT_VIOLATION, "EPT_VIOLATION" }, \
|
||||||
{ EXIT_REASON_EPT_MISCONFIG, "EPT_MISCONFIG" }, \
|
{ EXIT_REASON_EPT_MISCONFIG, "EPT_MISCONFIG" }, \
|
||||||
{ EXIT_REASON_INVEPT, "INVEPT" }, \
|
{ EXIT_REASON_INVEPT, "INVEPT" }, \
|
||||||
|
{ EXIT_REASON_RDTSCP, "RDTSCP" }, \
|
||||||
{ EXIT_REASON_PREEMPTION_TIMER, "PREEMPTION_TIMER" }, \
|
{ EXIT_REASON_PREEMPTION_TIMER, "PREEMPTION_TIMER" }, \
|
||||||
{ EXIT_REASON_WBINVD, "WBINVD" }, \
|
|
||||||
{ EXIT_REASON_APIC_WRITE, "APIC_WRITE" }, \
|
|
||||||
{ EXIT_REASON_EOI_INDUCED, "EOI_INDUCED" }, \
|
|
||||||
{ EXIT_REASON_INVALID_STATE, "INVALID_STATE" }, \
|
|
||||||
{ EXIT_REASON_MSR_LOAD_FAIL, "MSR_LOAD_FAIL" }, \
|
|
||||||
{ EXIT_REASON_INVD, "INVD" }, \
|
|
||||||
{ EXIT_REASON_INVVPID, "INVVPID" }, \
|
{ EXIT_REASON_INVVPID, "INVVPID" }, \
|
||||||
|
{ EXIT_REASON_WBINVD, "WBINVD" }, \
|
||||||
|
{ EXIT_REASON_XSETBV, "XSETBV" }, \
|
||||||
|
{ EXIT_REASON_APIC_WRITE, "APIC_WRITE" }, \
|
||||||
|
{ EXIT_REASON_RDRAND, "RDRAND" }, \
|
||||||
{ EXIT_REASON_INVPCID, "INVPCID" }, \
|
{ EXIT_REASON_INVPCID, "INVPCID" }, \
|
||||||
|
{ EXIT_REASON_VMFUNC, "VMFUNC" }, \
|
||||||
|
{ EXIT_REASON_ENCLS, "ENCLS" }, \
|
||||||
|
{ EXIT_REASON_RDSEED, "RDSEED" }, \
|
||||||
|
{ EXIT_REASON_PML_FULL, "PML_FULL" }, \
|
||||||
{ EXIT_REASON_XSAVES, "XSAVES" }, \
|
{ EXIT_REASON_XSAVES, "XSAVES" }, \
|
||||||
{ EXIT_REASON_XRSTORS, "XRSTORS" }
|
{ EXIT_REASON_XRSTORS, "XRSTORS" }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user