diff options
author | Cédric Le Goater | 2019-01-02 06:57:40 +0100 |
---|---|---|
committer | David Gibson | 2019-01-08 23:28:14 +0100 |
commit | 872ff3dea3be974405709c4a96fccea65884835a (patch) | |
tree | 77dea94a11ffd5f77e0ad05a5d618b2c86f6ae31 /include/hw/ppc/spapr.h | |
parent | pnv/psi: move the ICSState qemu_irq array under the PSI device model (diff) | |
download | qemu-872ff3dea3be974405709c4a96fccea65884835a.tar.gz qemu-872ff3dea3be974405709c4a96fccea65884835a.tar.xz qemu-872ff3dea3be974405709c4a96fccea65884835a.zip |
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>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index fd24e91bd8..9e01a5a12e 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -182,6 +182,7 @@ struct sPAPRMachineState { unsigned long *irq_map; sPAPRXive *xive; sPAPRIrq *irq; + qemu_irq *qirqs; bool cmd_line_caps[SPAPR_CAP_NUM]; sPAPRCapabilities def, eff, mig; |