summary refs log tree commit diff stats
path: root/hw/m68k/virt.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-08-18 18:03:52 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-08-18 18:08:57 -0700
commit976a55c0fe427a0084823152447cf5bb9092d24f (patch)
tree09c6a83d7d3d2ea5b4c9f6d665ee90930ecf753e /hw/m68k/virt.c
parent4d65d4ba57372c57a1236fb5cb789dbcc100645c (diff)
downloadfocaccia-qemu-976a55c0fe427a0084823152447cf5bb9092d24f.tar.gz
focaccia-qemu-976a55c0fe427a0084823152447cf5bb9092d24f.zip
Revert "linux-user: un-parent OBJECT(cpu) when closing thread"
This reverts commit 52f0c1607671293afcdb2acc2f83e9bccbfa74bb.

This caused a regression in arm/aarch64.

We are hard-coding ARMCPRegInfo pointers into TranslationBlocks,
for calling into helper_{get,set}cp_reg{,64}.  So we have a race
condition between whichever cpu thread translates the code first
(encoding the pointer), and that cpu thread exiting, so that the
next execution of the TB references a freed data structure.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/m68k/virt.c')
0 files changed, 0 insertions, 0 deletions