kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: x86: Update symbolic exit codes
@ 2013-08-11  7:10 Jan Kiszka
  2013-08-11  8:25 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2013-08-11  7:10 UTC (permalink / raw)
  To: Paolo Bonzini, Gleb Natapov; +Cc: kvm

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 */
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] KVM: x86: Update symbolic exit codes
  2013-08-11  7:10 [PATCH] KVM: x86: Update symbolic exit codes Jan Kiszka
@ 2013-08-11  8:25 ` Paolo Bonzini
  2013-08-12  6:23   ` [PATCH v2] " Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2013-08-11  8:25 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Gleb Natapov, kvm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] KVM: x86: Update symbolic exit codes
  2013-08-11  8:25 ` Paolo Bonzini
@ 2013-08-12  6:23   ` Jan Kiszka
  2013-08-12  6:50     ` [PATCH v3] " Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2013-08-12  6:23 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Gleb Natapov, kvm

On 2013-08-11 10:25, Paolo Bonzini wrote:
> 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.

I suppose you already noticed that this version was bad. If not, find
one with one comma more below.

Jan

---8<---

KVM: x86: Update symbolic exit codes

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

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 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..8e1ed30 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 */
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v3] KVM: x86: Update symbolic exit codes
  2013-08-12  6:23   ` [PATCH v2] " Jan Kiszka
@ 2013-08-12  6:50     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2013-08-12  6:50 UTC (permalink / raw)
  To: Paolo Bonzini, Gleb Natapov; +Cc: kvm

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

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

Err - yeah...

 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..0e79420 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 */
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-12  6:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-11  7:10 [PATCH] KVM: x86: Update symbolic exit codes Jan Kiszka
2013-08-11  8:25 ` Paolo Bonzini
2013-08-12  6:23   ` [PATCH v2] " Jan Kiszka
2013-08-12  6:50     ` [PATCH v3] " Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).