All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1 V2 RESEND] Add new VM Exit codes
@ 2010-04-20  2:22 Manish Regmi
  0 siblings, 0 replies; only message in thread
From: Manish Regmi @ 2010-04-20  2:22 UTC (permalink / raw)
  To: kvm; +Cc: avi

sorry the last one was word wrapped. now i fixed it.

hi, this patch,
 * adds two more EXIT_REASONS 33 and 34 in vmx.h
 * also adds them to exit reason strings.
Signed-off-by: Manish Regmi <regmi.manish@gmail.com>
--------
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index fb9a080..9bf84db 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -251,6 +251,8 @@ enum vmcs_field {
 #define EXIT_REASON_IO_INSTRUCTION      30
 #define EXIT_REASON_MSR_READ            31
 #define EXIT_REASON_MSR_WRITE           32
+#define EXIT_REASON_INVALID_GUEST_STATE 33
+#define EXIT_REASON_MSR_LOADING         34
 #define EXIT_REASON_MWAIT_INSTRUCTION   36
 #define EXIT_REASON_MONITOR_INSTRUCTION 39
 #define EXIT_REASON_PAUSE_INSTRUCTION   40
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 0b896ac..a5c53ad 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -4061,6 +4061,8 @@ static const struct trace_print_flags vmx_exit_reasons_str[] = {
 	_ER(IO_INSTRUCTION),
 	_ER(MSR_READ),
 	_ER(MSR_WRITE),
+        _ER(INVALID_GUEST_STATE),
+        _ER(MSR_LOADING),
 	_ER(MWAIT_INSTRUCTION),
 	_ER(MONITOR_INSTRUCTION),
 	_ER(PAUSE_INSTRUCTION),

regards,
Manish Regmi

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-20  2:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20  2:22 [PATCH 0/1 V2 RESEND] Add new VM Exit codes Manish Regmi

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.