[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [for-2.11 PATCH 11/26] spapr_iommu: unregister vmstate at unr
From: |
Greg Kurz |
Subject: |
[Qemu-ppc] [for-2.11 PATCH 11/26] spapr_iommu: unregister vmstate at unrealize time |
Date: |
Tue, 25 Jul 2017 20:00:22 +0200 |
User-agent: |
StGit/0.17.1-20-gc0b1b-dirty |
Signed-off-by: Greg Kurz <address@hidden>
---
hw/ppc/spapr_iommu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/ppc/spapr_iommu.c b/hw/ppc/spapr_iommu.c
index 8ec4e7a40834..40a44c563824 100644
--- a/hw/ppc/spapr_iommu.c
+++ b/hw/ppc/spapr_iommu.c
@@ -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);
- Re: [Qemu-ppc] [for-2.11 PATCH 07/26] spapr_drc: fix realize and unrealize, (continued)
[Qemu-ppc] [for-2.11 PATCH 08/26] spapr_drc: add unrealize method to physical DRC class, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 09/26] spapr_drc: pass object ownership to parent/owner, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 10/26] spapr_iommu: pass object ownership to parent/owner, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 11/26] spapr_iommu: unregister vmstate at unrealize time,
Greg Kurz <=
[Qemu-ppc] [for-2.11 PATCH 12/26] pci: allow cleanup/unregistration of PCI buses, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 13/26] qdev: store DeviceState's canonical path to use when unparenting, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 14/26] spapr_pci: add PHB unrealize, Greg Kurz, 2017/07/25
[Qemu-ppc] [for-2.11 PATCH 15/26] spapr: add pseries-2.11 machine type, Greg Kurz, 2017/07/25