[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [IA64] print domain id and vcpu id when panic



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.