All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>, kvm <kvm@vger.kernel.org>
Subject: [PATCH v2] KVM: x86: Update symbolic exit codes
Date: Mon, 12 Aug 2013 08:23:19 +0200	[thread overview]
Message-ID: <52087F57.2070909@siemens.com> (raw)
In-Reply-To: <52074A71.7040908@redhat.com>

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

  reply	other threads:[~2013-08-12  6:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Jan Kiszka [this message]
2013-08-12  6:50     ` [PATCH v3] " Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52087F57.2070909@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.