mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
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>
This commit is contained in:
parent
e6f7e110ee
commit
a7ff1212e9
3 changed files with 7 additions and 22 deletions
|
@ -156,7 +156,6 @@ typedef struct XICSFabricClass {
|
|||
ICSState *(*ics_get)(XICSFabric *xi, int irq);
|
||||
void (*ics_resend)(XICSFabric *xi);
|
||||
ICPState *(*icp_get)(XICSFabric *xi, int server);
|
||||
void (*icp_resend)(XICSFabric *xi);
|
||||
} XICSFabricClass;
|
||||
|
||||
#define XICS_IRQS_SPAPR 1024
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue