From d739470b9431406eb34a14a8feb9fa4a71330b5a Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 10 Apr 2013 18:27:32 +0200 Subject: x86: show handler for Xen-internal interrupts ... in 'i' debug key output. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/arch/x86/irq.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index fff9f1d353..dffb33a231 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -2094,9 +2095,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; @@ -2124,6 +2123,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); -- cgit v1.2.3