[PATCH 0/4] spapr: Fix and cleanups for sPAPR CPU core

Greg Kurz posted 4 patches 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/160251562222.796881.8197386060416409319.stgit@bahia.lan
Maintainers: David Gibson <david@gibson.dropbear.id.au>
There is a newer version of this series
hw/ppc/spapr_cpu_core.c |   65 +++++++++++++++++++++++++----------------------
1 file changed, 35 insertions(+), 30 deletions(-)
[PATCH 0/4] spapr: Fix and cleanups for sPAPR CPU core
Posted by Greg Kurz 3 years, 6 months ago
While reading the code _again_ I spotted a memory leak and I realized
we can simplify some paths that deal with vCPU removal.

---

Greg Kurz (4):
      spapr: Fix leak of CPU machine specific data
      spapr: Drop spapr_delete_vcpu() unused argument
      spapr: Introduce an .instance_finalize hook for TYPE_SPAPR_CPU_CORE
      spapr: Make spapr_cpu_core_unrealize() idempotent


 hw/ppc/spapr_cpu_core.c |   65 +++++++++++++++++++++++++----------------------
 1 file changed, 35 insertions(+), 30 deletions(-)

--
Greg