[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC 04/19] xen/arm: route_irq_to_guest: Check validity of the IRQ
On 07/03/2014 12:04 PM, Ian Campbell wrote: > On Mon, 2014-06-16 at 17:17 +0100, Julien Grall wrote: >> diff --git a/xen/include/asm-arm/irq.h b/xen/include/asm-arm/irq.h >> index e567f71..63926a5 100644 >> --- a/xen/include/asm-arm/irq.h >> +++ b/xen/include/asm-arm/irq.h >> @@ -37,6 +37,12 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, >> int is_fiq); >> >> #define domain_pirq_to_irq(d, pirq) (pirq) >> >> +static inline bool_t is_routable_irq(unsigned int irq) > > is_assignable_irq I think better suits your intention. > > routable doesn't imply "to the guest" since you might also route it to > Xen. Hmmm... right. I will do the change in the next version. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |