All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][VT][5/15] Improved error reporting on vmlaunch/vmresume failure.
@ 2005-08-11 19:24 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-08-11 19:24 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

Improved error reporting on vmlaunch/vmresume failure.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

diff -r e4ad3feadd4e -r 5b239652c912 xen/arch/x86/vmx_vmcs.c
--- a/xen/arch/x86/vmx_vmcs.c	Tue Aug  9 19:06:44 2005
+++ b/xen/arch/x86/vmx_vmcs.c	Tue Aug  9 19:06:44 2005
@@ -529,11 +529,17 @@
 
 void vm_launch_fail(unsigned long eflags)
 {
+    unsigned long error;
+    __vmread(VM_INSTRUCTION_ERROR, &error);
+    printk("<vm_launch_fail> error code %lx\n", error);
     __vmx_bug(guest_cpu_user_regs());
 }
 
 void vm_resume_fail(unsigned long eflags)
 {
+    unsigned long error;
+    __vmread(VM_INSTRUCTION_ERROR, &error);
+    printk("<vm_resume_fail> error code %lx\n", error);
     __vmx_bug(guest_cpu_user_regs());
 }

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

only message in thread, other threads:[~2005-08-11 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 19:24 [PATCH][VT][5/15] Improved error reporting on vmlaunch/vmresume failure Arun Sharma

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.