aboutsummaryrefslogtreecommitdiff
path: root/stubs/iothread-lock.c
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2017-06-15 11:14:24 +0530
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-30 14:03:31 +1000
commitfd356563683216cf3668a79388450747f6d1373b (patch)
tree317e5ccb30497edcdfd7eadd94cf9db392cffe7d /stubs/iothread-lock.c
parent46f7afa3709664c7fbc643b2221fd27d5d7762d3 (diff)
target/ppc: Proper cleanup when ppc_cpu_realizefn fails
If ppc_cpu_realizefn() fails after cpu_exec_realizefn() has been called, we will have to undo whatever cpu_exec_realizefn() did by explicitly calling cpu_exec_unrealizeffn() which is currently missing. Failure to do this proper cleanup will result in CPU which was never fully realized to linger on the cpus list causing SIGSEGV later (for eg when running "info cpus"). Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'stubs/iothread-lock.c')
0 files changed, 0 insertions, 0 deletions