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

From: Konrad Rzeszutek Wilk
Date: Thu Dec 09 2010 - 22:54:13 EST


> 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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/