[PATCH 13/17] kvm tools: irq: move irq line allocation into device registration

2014-02-04 Thread Will Deacon
For the MMIO and PCI buses, drivers typically allocate an IRQ line for their device before registering the device with the device tree for the relevant bus. This patch moves the IRQ allocation into the bus code, which is then called directly by the device tree when a new device is registered.

[PATCH 13/17] kvm tools: irq: move irq line allocation into device registration

2014-02-04 Thread Will Deacon
For the MMIO and PCI buses, drivers typically allocate an IRQ line for their device before registering the device with the device tree for the relevant bus. This patch moves the IRQ allocation into the bus code, which is then called directly by the device tree when a new device is registered.