mbox series

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

Message ID 160251562222.796881.8197386060416409319.stgit@bahia.lan (mailing list archive)
Headers show
Series spapr: Fix and cleanups for sPAPR CPU core | expand

Message

Greg Kurz Oct. 12, 2020, 3:19 p.m. UTC
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