ppc/xics: move ics-simple post_load under the machine
commita7ff1212e99ff072dfb8db62d5e6d8ce9f4b486c
authorCédric Le Goater <clg@kaod.org>
Mon, 27 Feb 2017 14:29:31 +0000 (27 15:29 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:40 +0000 (1 11:23 +1100)
tree64a590d339e1d1d377a1c0cc4033e417327bfd11
parente6f7e110ee7096ce2b98fa2963f3ec5e68130ea5
ppc/xics: move ics-simple post_load under the machine

The ICS object uses a post_load() handler which is implicitly relying
on the fact that the internal state of the ICS and ICP objects has
been restored but this is not guaranteed. So, let's move the code
under the post_load() handler of the machine where we know the objects
have been fully restored.

The icp_resend() handler of the XICSFabric QOM interface is also
removed as it is now obsolete.

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