[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 44/48] spapr-cpu-core: Release ICPState object during
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 44/48] spapr-cpu-core: Release ICPState object during CPU unrealization |
Date: |
Wed, 26 Apr 2017 17:00:30 +1000 |
From: Bharata B Rao <address@hidden>
Recent commits that re-organized ICPState object missed to destroy
the object when CPU is unrealized. Fix this so that CPU unplug
doesn't abort QEMU.
Signed-off-by: Bharata B Rao <address@hidden>
Reviewed-by: Cédric Le Goater <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/spapr_cpu_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c
index 2e689b5..4389ef4 100644
--- a/hw/ppc/spapr_cpu_core.c
+++ b/hw/ppc/spapr_cpu_core.c
@@ -127,6 +127,7 @@ static void spapr_cpu_core_unrealizefn(DeviceState *dev,
Error **errp)
PowerPCCPU *cpu = POWERPC_CPU(cs);
spapr_cpu_destroy(cpu);
+ object_unparent(cpu->intc);
cpu_remove_sync(cs);
object_unparent(obj);
}
--
2.9.3
- [Qemu-devel] [PULL 38/48] ppc/pnv: scan ISA bus to populate device tree, (continued)
- [Qemu-devel] [PULL 38/48] ppc/pnv: scan ISA bus to populate device tree, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 47/48] target/ppc: Style fixes, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 48/48] MAINTAINERS: Remove myself from e500, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 27/48] ppc/pnv: Add cut down PSI bridge model and hookup external interrupt, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 40/48] ppc/pnv: populate device tree for serial devices, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 32/48] ipmi: introduce an ipmi_bmc_sdr_find() API, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 43/48] ppc/pnv: generate an OEM SEL event on shutdown, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 42/48] ppc/pnv: add initial IPMI sensors for the BMC simulator, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 46/48] e500, book3s: mfspr 259: Register mapped/aliased SPRG3 user read, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 37/48] ppc/pnv: enable only one LPC bus, David Gibson, 2017/04/26
- [Qemu-devel] [PULL 44/48] spapr-cpu-core: Release ICPState object during CPU unrealization,
David Gibson <=
- [Qemu-devel] [PULL 45/48] target/ppc: Flush TLB on write to PIDR, David Gibson, 2017/04/26
- Re: [Qemu-devel] [PULL 00/48] ppc-for-2.10 queue 20170426, no-reply, 2017/04/26
- Re: [Qemu-devel] [PULL 00/48] ppc-for-2.10 queue 20170426, Peter Maydell, 2017/04/26