diff options
author | Cédric Le Goater | 2017-02-27 15:29:16 +0100 |
---|---|---|
committer | David Gibson | 2017-03-01 01:23:39 +0100 |
commit | f7759e4331ed04b2128af36efd395e55e3076406 (patch) | |
tree | ebc9f5ac46e0a2d59f0b3406d2a6cd62843387fb /include/hw/pci-host/spapr.h | |
parent | ppc/xics: use the QOM interface under the sPAPR machine (diff) | |
download | qemu-f7759e4331ed04b2128af36efd395e55e3076406.tar.gz qemu-f7759e4331ed04b2128af36efd395e55e3076406.tar.xz qemu-f7759e4331ed04b2128af36efd395e55e3076406.zip |
ppc/xics: use the QOM interface to get irqs
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/pci-host/spapr.h')
-rw-r--r-- | include/hw/pci-host/spapr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h index 092294ed5a..dfa76143f3 100644 --- a/include/hw/pci-host/spapr.h +++ b/include/hw/pci-host/spapr.h @@ -106,7 +106,7 @@ static inline qemu_irq spapr_phb_lsi_qirq(struct sPAPRPHBState *phb, int pin) { sPAPRMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); - return xics_get_qirq(spapr->xics, phb->lsi_table[pin].irq); + return xics_get_qirq(XICS_FABRIC(spapr), phb->lsi_table[pin].irq); } PCIHostState *spapr_create_phb(sPAPRMachineState *spapr, int index); |