[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4 of 4] qemu-xen: let xen choose the pirq number
When remapping an interrupt into the guest, let xen choose the pirq, otherwise we might have to handle possible conflicts. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> diff --git a/hw/pass-through.c b/hw/pass-through.c index f6ae4b2..81ae3f3 100644 --- a/hw/pass-through.c +++ b/hw/pass-through.c @@ -4265,7 +4265,7 @@ static struct pt_dev * register_real_device(PCIBus *e_bus, if ( PT_MACHINE_IRQ_AUTO == machine_irq ) { - int pirq = pci_dev->irq; + int pirq = -1; machine_irq = pci_dev->irq; rc = xc_physdev_map_pirq(xc_handle, domid, machine_irq, &pirq); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |