]> git.proxmox.com Git - mirror_qemu.git/commit
spapr: move the IRQ server number mapping under the machine
authorCédric Le Goater <clg@kaod.org>
Mon, 3 Apr 2017 07:45:57 +0000 (09:45 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:00:42 +0000 (12:00 +1000)
commit06747ba6d424e213efcb58578aadd56eb882877a
tree341e27184959df87606594c9e5301b32103ba405
parentad5d1add86b9560c22c3fb8718d6a99eabaaed6a
spapr: move the IRQ server number mapping under the machine

This is the second step to abstract the IRQ 'server' number of the
XICS layer. Now that the prereq cleanups have been done in the
previous patch, we can move down the 'cpu_dt_id' to 'cpu_index'
mapping in the sPAPR machine handler.

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_spapr.c
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c