This series fixes some problems with spapr's qdev interface. Patch 1 is the important one, which makes it possible to use -device to create vio devices. The other two are cosmetic.
v1->v2: abstracted the call to xics_find_qirq behind spapr_find_qirq v2->v3: undid v1->v2 change, introduced spapr_allocate_irq Paolo Bonzini (3): spapr: proper qdevification spapr: prepare for qdevification of irq spapr: make irq customizable via qdev hw/spapr.c | 16 ++++++---------- hw/spapr.h | 6 ++++++ hw/spapr_llan.c | 11 ++--------- hw/spapr_vio.c | 9 +++++++++ hw/spapr_vio.h | 18 +++++++++--------- hw/spapr_vscsi.c | 12 ++---------- hw/spapr_vty.c | 10 ++-------- 7 files changed, 36 insertions(+), 46 deletions(-) -- 1.7.4.4