From: Keir Fraser Subject: Re: [PATCH] x86: show handler for Xen-internal interrupts Date: Wed, 10 Apr 2013 17:18:53 +0100 Message-ID: References: <5165A25702000078000CC2C0@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5165A25702000078000CC2C0@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 10/04/2013 16:33, "Jan Beulich" wrote: > ... in 'i' debug key output. > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/arch/x86/irq.c > +++ b/xen/arch/x86/irq.c > @@ -17,6 +17,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -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); > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel