diff mbox

KVM: x86: Update symbolic exit codes

Message ID 520738F0.4060303@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Aug. 11, 2013, 7:10 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Add decoding for INVEPT and reorder the list according to the reason
numbers.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Applies on top of queue.

 arch/x86/include/uapi/asm/vmx.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Comments

Paolo Bonzini Aug. 11, 2013, 8:25 a.m. UTC | #1
Il 11/08/2013 09:10, Jan Kiszka ha scritto:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Add decoding for INVEPT and reorder the list according to the reason
> numbers.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
> Applies on top of queue.
> 
>  arch/x86/include/uapi/asm/vmx.h |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/include/uapi/asm/vmx.h b/arch/x86/include/uapi/asm/vmx.h
> index 7a34e8f..8ac5b61 100644
> --- a/arch/x86/include/uapi/asm/vmx.h
> +++ b/arch/x86/include/uapi/asm/vmx.h
> @@ -107,12 +107,13 @@
>  	{ 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 */
> 

Applied, thanks.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/x86/include/uapi/asm/vmx.h b/arch/x86/include/uapi/asm/vmx.h
index 7a34e8f..8ac5b61 100644
--- a/arch/x86/include/uapi/asm/vmx.h
+++ b/arch/x86/include/uapi/asm/vmx.h
@@ -107,12 +107,13 @@ 
 	{ 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 */