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

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


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Wed, 10 Apr 2013 17:18:53 +0100
  • Delivery-date: Wed, 10 Apr 2013 16:19:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac42BxepxRuJ+w4yjEeH0vT5ho38Cw==
  • Thread-topic: [Xen-devel] [PATCH] x86: show handler for Xen-internal interrupts

On 10/04/2013 16:33, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> ... in 'i' debug key output.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- 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);
>  
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
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®.