diff options
author | Igor Mammedov <imammedo@redhat.com> | 2017-02-03 11:51:57 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-02-22 11:28:27 +1100 |
commit | f844616bf6ff623fd6691b022cb5227faa269675 (patch) | |
tree | 14ca29f368c42f660974191febe223d4d45cf476 /cpu-exec-common.c | |
parent | 796b288f7be875045670f963ce99991b3c8e96ac (diff) |
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 'cpu-exec-common.c')
0 files changed, 0 insertions, 0 deletions