|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Improved error reporting on vmlaunch/vmresume failure.
# HG changeset patch
# User adsharma@xxxxxxxxxxxxxxxxxxxx
# Node ID 5b239652c9122f82c8b86853162b36efa056abe8
# Parent e4ad3feadd4e706b630858652de2c601616ce6d0
Improved error reporting on vmlaunch/vmresume failure.
Signed-off-by: Yunhong Jiang <yunhong.jiang@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>
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());
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
|
|
|
|