summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall_types.h
diff options
context:
space:
mode:
authorRichard Henderson2022-10-31 03:26:36 +0100
committerRichard Henderson2022-10-31 22:31:41 +0100
commit4e4fa6c12d97ee3ee87623c153009a5abd7b428e (patch)
tree41554ff61d55922864d39fdc147d0f61238fbee1 /linux-user/syscall_types.h
parenttarget/i386: Expand eflags updates inline (diff)
downloadqemu-4e4fa6c12d97ee3ee87623c153009a5abd7b428e.tar.gz
qemu-4e4fa6c12d97ee3ee87623c153009a5abd7b428e.tar.xz
qemu-4e4fa6c12d97ee3ee87623c153009a5abd7b428e.zip
accel/tcg: Complete cpu initialization before registration
Delay cpu_list_add until realize is complete, so that cross-cpu interaction does not happen with incomplete cpu state. For this, we must delay plugin initialization out of tcg_exec_realizefn, because no cpu_index has been assigned. Fixes a problem with cross-cpu jump cache flushing, when the jump cache has not yet been allocated. Fixes: a976a99a2975 ("include/hw/core: Create struct CPUJumpCache") Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Reported-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/syscall_types.h')
0 files changed, 0 insertions, 0 deletions