Re: [PATCH] Fix when booting Xen+Linux under QEMU.

Konrad Rzeszutek Wilk
2010-12-10T03:54:08Z

> I think I'd prefer to:
>
> 1. move to using all dynamic irqs, and use the core kernel irq
> allocator (ie, resurrect IanC's patches)

That would make it easier, except that they don't work when you have DomU
guest with Xen PCI front. Simply b/c the DomU guest has no idea of what GSI of
the host machine is. Hence the find_unbound_irq that starts from the top
(nr_irqs) and goes down to GSI count (nr_irq_gsi).

Maybe we can stick it in the Xen PCIfronted/Xen PCI backend a mechanism (some
key value) which will specify the host's nr_irq_gsi value. Then the DomU guest
can set that and then use the core kernel irq allocator...