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] [IA64] print domain id and vcpu id when panic

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [IA64] print domain id and vcpu id when panic
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Apr 2006 10:32:24 +0000
Delivery-date: Thu, 27 Apr 2006 03:37:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 awilliam@xxxxxxxxxxx
# Node ID 2133fb78dba3cf6b6b88d1566fc5cc9de3039f43
# Parent  2d28f31aae8bbad257f30adeae3a7313792aeb74
[IA64] print domain id and vcpu id when panic

made show_regs() to print domain id and vcpu id.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 2d28f31aae8b -r 2133fb78dba3 xen/arch/ia64/linux-xen/process-linux-xen.c
--- a/xen/arch/ia64/linux-xen/process-linux-xen.c       Wed Apr 05 12:17:44 
2006 -0600
+++ b/xen/arch/ia64/linux-xen/process-linux-xen.c       Wed Apr 05 12:19:52 
2006 -0600
@@ -126,6 +126,13 @@ show_regs (struct pt_regs *regs)
        printk("psr : %016lx ifs : %016lx ip  : [<%016lx>]    %s\n",
               regs->cr_ipsr, regs->cr_ifs, ip, print_tainted());
 #else
+       struct vcpu* vcpu = current;
+       if (vcpu != NULL) {
+               struct domain* d = vcpu->domain;
+               printk("d 0x%p domid %d\n", d, d->domain_id);
+               printk("vcpu 0x%p vcpu %d\n",
+                      vcpu, vcpu->vcpu_id);
+       }
        printk("\nCPU %d\n", smp_processor_id());
        printk("psr : %016lx ifs : %016lx ip  : [<%016lx>]\n",
               regs->cr_ipsr, regs->cr_ifs, ip);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] print domain id and vcpu id when panic, Xen patchbot -unstable <=