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

[Xen-devel] [PATCH] x86: show handler for Xen-internal interrupts


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxx>
  • From: "Jan Beulich" <JBeulich@xxxxxxxx>
  • Date: Wed, 10 Apr 2013 16:33:11 +0100
  • Delivery-date: Wed, 10 Apr 2013 15:33:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

... in 'i' debug key output.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -17,6 +17,7 @@
 #include <xen/compat.h>
 #include <xen/iocap.h>
 #include <xen/iommu.h>
+#include <xen/symbols.h>
 #include <xen/trace.h>
 #include <xsm/xsm.h>
 #include <asm/msi.h>
@@ -2267,9 +2268,7 @@ static void dump_irqs(unsigned char key)
         if ( ssid )
             printk("Z=%-25s ", ssid);
 
-        if ( !(desc->status & IRQ_GUEST) )
-            printk("mapped, unbound\n");
-        else
+        if ( desc->status & IRQ_GUEST )
         {
             action = (irq_guest_action_t *)desc->action;
 
@@ -2297,6 +2296,10 @@ static void dump_irqs(unsigned char key)
 
             printk("\n");
         }
+        else if ( desc->action )
+            print_symbol("%s\n", (unsigned long)desc->action->handler);
+        else
+            printk("mapped, unbound\n");
 
         spin_unlock_irqrestore(&desc->lock, flags);
 



Attachment: x86-IRQ-show-xen-handler.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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