ppc/xics: rework the ICS classes inheritance tree
commitabe82ebb2005eef846fd62652b0107d268c8e06f
authorCédric Le Goater <clg@kaod.org>
Mon, 25 Jun 2018 09:17:18 +0000 (25 11:17 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 2 Jul 2018 23:56:51 +0000 (3 09:56 +1000)
treec183c53bfc7369861344c0129d145370d51e9bcf
parentc8b1846f238ea5702ccbc0c3e2760c8fee875808
ppc/xics: rework the ICS classes inheritance tree

With the previous changes, we can now let the ICS_KVM class inherit
directly from ICS_BASE class and not from the intermediate ICS_SIMPLE.
It makes the class hierarchy much cleaner.

What is left in the top classes is the low level interface to access
the KVM XICS device in ICS_KVM and the XICS emulating handlers in
ICS_SIMPLE.

This should not break migration compatibility.

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