Igor Mammedov f844616bf6 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>
2017-02-22 11:28:27 +11:00
..
2016-05-19 16:42:28 +02:00
2016-01-29 15:07:22 +00:00
2017-01-19 22:07:46 +01:00
2016-01-29 15:07:22 +00:00
2016-09-15 15:32:22 +03:00
2017-01-31 10:10:13 +11:00
2017-01-31 10:10:13 +11:00
2017-01-24 23:26:52 +03:00
2017-01-31 10:10:14 +11:00
2017-01-31 10:10:13 +11:00