spapr: introduce a spapr_irq_init() routine
commitfab397d84ab62b99f6e18ce3618f9f85c30f79c5
authorCédric Le Goater <clg@kaod.org>
Wed, 5 Dec 2018 23:22:27 +0000 (6 00:22 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Dec 2018 22:28:47 +0000 (21 09:28 +1100)
tree36efdd2e2183cdaa8a227770613d9536df908dba
parent482969d680b7ae9c903198db2b7ff1984361e0a0
spapr: introduce a spapr_irq_init() routine

Initialize the MSI bitmap from it as this will be necessary for the
sPAPR IRQ backend for XIVE.

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>
hw/ppc/spapr.c
hw/ppc/spapr_irq.c
include/hw/ppc/spapr_irq.h