spapr: move the qemu_irq array under the machine
commit872ff3dea3be974405709c4a96fccea65884835a
authorCédric Le Goater <clg@kaod.org>
Wed, 2 Jan 2019 05:57:40 +0000 (2 06:57 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:14 +0000 (9 09:28 +1100)
tree77dea94a11ffd5f77e0ad05a5d618b2c86f6ae31
parentf8df900316666f55dd82b1576e57f7650db682a6
spapr: move the qemu_irq array under the machine

The qemu_irq array is now allocated at the machine level using a sPAPR
IRQ set_irq handler depending on the chosen interrupt mode. The use of
this handler is slightly inefficient today but it will become necessary
when the 'dual' interrupt mode is introduced.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c
hw/intc/xics_kvm.c
hw/intc/xive.c
hw/ppc/spapr_irq.c
include/hw/ppc/spapr.h
include/hw/ppc/spapr_irq.h
include/hw/ppc/xics.h
include/hw/ppc/xive.h