mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
spapr_iommu: unregister vmstate at unrealize time
Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
8dc9785ca0
commit
ea359d20e6
@ -374,6 +374,8 @@ static void spapr_tce_table_unrealize(DeviceState *dev, Error **errp)
|
||||
{
|
||||
sPAPRTCETable *tcet = SPAPR_TCE_TABLE(dev);
|
||||
|
||||
vmstate_unregister(DEVICE(tcet), &vmstate_spapr_tce_table, tcet);
|
||||
|
||||
QLIST_REMOVE(tcet, list);
|
||||
|
||||
spapr_tce_table_disable(tcet);
|
||||
|
Loading…
Reference in New Issue
Block a user