[PATCH v2] KVM: x86: Update symbolic exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-08-11 10:25, Paolo Bonzini wrote:
> Il 11/08/2013 09:10, Jan Kiszka ha scritto:
>> From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>>
>> Add decoding for INVEPT and reorder the list according to the reason
>> numbers.
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>> ---
>>
>> 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@xxxxxxxxxxx>
---
 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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux