aboutsummaryrefslogtreecommitdiff
path: root/stubs/bdrv-next-monitor-owned.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-10-15 23:18:25 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-10-28 01:08:53 +1100
commit90689a32ce2b84580646956c2417343943e5df37 (patch)
tree9c352724e85f2b00af2dca0edec608521e87d6c8 /stubs/bdrv-next-monitor-owned.c
parentce316b5118c732c5fef23d7763b8c01054bfcdfa (diff)
downloadqemu-90689a32ce2b84580646956c2417343943e5df37.zip
qemu-90689a32ce2b84580646956c2417343943e5df37.tar.gz
qemu-90689a32ce2b84580646956c2417343943e5df37.tar.bz2
spapr: Fix leak of CPU machine specific data
When a CPU core is being removed, the machine specific data of each CPU thread object is leaked. Fix this by calling the dedicated helper we have for that instead of simply unparenting the CPU object. Call it from a separate loop in spapr_cpu_core_unrealize() for symmetry with spapr_cpu_core_realize(). Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <160279670540.1808373.17319746576919615623.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'stubs/bdrv-next-monitor-owned.c')
0 files changed, 0 insertions, 0 deletions