spapr: introduce a spapr_qirq() helper
commit7718375584a0214c951668a6e92896aaed88b289
authorCédric Le Goater <clg@kaod.org>
Fri, 1 Dec 2017 16:06:04 +0000 (1 17:06 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 14 Dec 2017 22:49:24 +0000 (15 09:49 +1100)
tree77e6f46a147e4fe8b6a66df00e02357c6b48444c
parent9e7dc5fc2e9d87a5492099de72800347e944e4ea
spapr: introduce a spapr_qirq() helper

xics_get_qirq() is only used by the sPAPR machine. Let's move it there
and change its name to reflect its scope. It will be useful for XIVE
support which will use its own set of qirqs.

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/intc/xics.c
hw/ppc/spapr.c
hw/ppc/spapr_events.c
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h
include/hw/ppc/spapr.h
include/hw/ppc/spapr_vio.h
include/hw/ppc/xics.h