]> Git Repo - qemu.git/commit - hw/ppc/spapr_cpu_core.c
spapr: cpu core: separate child threads destruction from machine state operations
authorIgor Mammedov <[email protected]>
Fri, 3 Feb 2017 10:51:57 +0000 (11:51 +0100)
committerDavid Gibson <[email protected]>
Wed, 22 Feb 2017 00:28:27 +0000 (11:28 +1100)
commitf844616bf6ff623fd6691b022cb5227faa269675
tree14ca29f368c42f660974191febe223d4d45cf476
parent796b288f7be875045670f963ce99991b3c8e96ac
spapr: cpu core: separate child threads destruction from machine state operations

Split off destroying VCPU threads from drc callback
spapr_core_release() into new spapr_cpu_core_unrealizefn()
which takes care of internal cpu core state cleanup (i.e.
VCPU threads) and is called when object_unparent(core)
is called.

That leaves spapr_core_release() only with board mgmt
code, which will be moved to board related file in
follow up patch along with the rest on hotplug callbacks.

Signed-off-by: Igor Mammedov <[email protected]>
Reviewed-by: Bharata B Rao <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr_cpu_core.c
This page took 0.021691 seconds and 4 git commands to generate.