KVM: x86: Update symbolic exit codes
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 12 Aug 2013 06:50:41 +0000 (08:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Aug 2013 14:58:42 +0000 (16:58 +0200)
Add decoding for INVEPT and reorder the list according to the reason
numbers.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/uapi/asm/vmx.h

index 7a34e8fe54bd1d8d2f9c98cbde0edd6b38f13ccf..0e79420376eb93d51224e8ff6d41ecdf55280224 100644 (file)
        { EXIT_REASON_APIC_ACCESS,           "APIC_ACCESS" }, \
        { EXIT_REASON_EPT_VIOLATION,         "EPT_VIOLATION" }, \
        { EXIT_REASON_EPT_MISCONFIG,         "EPT_MISCONFIG" }, \
+       { EXIT_REASON_INVEPT,                "INVEPT" }, \
+       { 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_INVD,                  "INVD" }, \
-       { EXIT_REASON_INVPCID,               "INVPCID" }, \
-       { EXIT_REASON_PREEMPTION_TIMER,      "PREEMPTION_TIMER" }
+       { EXIT_REASON_INVPCID,               "INVPCID" }
 
 #endif /* _UAPIVMX_H */