diff options
author | Igor Mammedov | 2017-02-03 11:51:57 +0100 |
---|---|---|
committer | David Gibson | 2017-02-22 01:28:27 +0100 |
commit | f844616bf6ff623fd6691b022cb5227faa269675 (patch) | |
tree | 14ca29f368c42f660974191febe223d4d45cf476 /hw/ppc/spapr.c | |
parent | Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (diff) | |
download | qemu-f844616bf6ff623fd6691b022cb5227faa269675.tar.gz qemu-f844616bf6ff623fd6691b022cb5227faa269675.tar.xz qemu-f844616bf6ff623fd6691b022cb5227faa269675.zip |
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 <imammedo@redhat.com>
Reviewed-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/spapr.c')
0 files changed, 0 insertions, 0 deletions