WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] More verbose log when vmx_decode() fails.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] More verbose log when vmx_decode() fails.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jul 2005 05:00:10 -0400
Delivery-date: Mon, 11 Jul 2005 09:00:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3de8cebfb231d13f4b59e6d330b19915d33523c3
# Parent  507ab2973964424e07f3107d0f2421b746714f83

More verbose log when vmx_decode() fails.
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

diff -r 507ab2973964 -r 3de8cebfb231 xen/arch/x86/vmx_platform.c
--- a/xen/arch/x86/vmx_platform.c       Mon Jul 11 08:59:01 2005
+++ b/xen/arch/x86/vmx_platform.c       Mon Jul 11 08:59:22 2005
@@ -653,8 +653,11 @@
 
     init_instruction(&mmio_inst);
     
-    if (vmx_decode(inst, &mmio_inst) == DECODE_failure)
+    if (vmx_decode(inst, &mmio_inst) == DECODE_failure) {
+        printk("vmx decode failure: eip=%lx, va=%lx\n %x %x %x %x\n", eip, va, 
+               inst[0], inst[1], inst[2], inst[3]);
         domain_crash_synchronous();
+    }
 
     __vmwrite(GUEST_RIP, eip + inst_len);
     store_cpu_user_regs(inst_decoder_regs);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] More verbose log when vmx_decode() fails., Xen patchbot -unstable <=