Skip to contentSkip to conversation

trace-cmd: Update VMX exit reasons in KVM plugin

PATCH New Jan Kiszka 1 participant 1 message Aug 11, 2013 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 trace-cmd: Update VMX exit reasons in KVM plugin

From: Jan Kiszka <[email protected]>

Aligns us with latest arch/x86/include/uapi/asm/vmx.h.

---
 plugin_kvm.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
plugin_kvm.c +8 -1
index 9b376d8..8a25cf1 100644
@@ -91,6 +91,7 @@ static const char *disassemble(unsigned char *insn, int len, uint64_t rip,
 	_ER(TASK_SWITCH,	9)		\
 	_ER(CPUID,		10)		\
 	_ER(HLT,		12)		\
+	_ER(INVD,		13)		\
 	_ER(INVLPG,		14)		\
 	_ER(RDPMC,		15)		\
 	_ER(RDTSC,		16)		\
@@ -115,9 +116,15 @@ static const char *disassemble(unsigned char *insn, int len, uint64_t rip,
 	_ER(MCE_DURING_VMENTRY,	41)		\
 	_ER(TPR_BELOW_THRESHOLD,43)		\
 	_ER(APIC_ACCESS,	44)		\
+	_ER(EOI_INDUCED,	45)		\
 	_ER(EPT_VIOLATION,	48)		\
 	_ER(EPT_MISCONFIG,	49)		\
-	_ER(WBINVD,		54)
+	_ER(INVEPT,		50)		\
+	_ER(PREEMPTION_TIMER,	52)		\
+	_ER(WBINVD,		54)		\
+	_ER(XSETBV,		55)		\
+	_ER(APIC_WRITE,		56)		\
+	_ER(INVPCID,		58)
 
 #define SVM_EXIT_REASONS \
 	_ER(EXIT_READ_CR0,	0x000)		\
Signature · 1 line
1.7.3.4