ppc/xics: use the QOM interface to resend irqs
commit2cd908d0add803886c310084145fecc93f080a63
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Feb 2017 14:29:17 +0000 (27 15:29 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:39 +0000 (1 11:23 +1100)
treef42a461eff00fe978e9462705da17a628e3208e3
parentf7759e4331ed04b2128af36efd395e55e3076406
ppc/xics: use the QOM interface to resend irqs

Also change the ICPState 'xics' backlink to be a XICSFabric, this
removes the need of using qdev_get_machine() to get the QOM interface
in some of the routines.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c
hw/ppc/spapr.c
include/hw/ppc/xics.h