summary refs log tree commit diff stats
path: root/accel/tcg/user-exec.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-17 11:53:47 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:18 +0100
commit964a4f2c2972ec9c7574b87541d6070ef5d22f4f (patch)
treef412ecb430cbe171e079eadbc164692c64100c18 /accel/tcg/user-exec.c
parenta523b62c8573c09d96472e06486bb58740945215 (diff)
downloadfocaccia-qemu-964a4f2c2972ec9c7574b87541d6070ef5d22f4f.tar.gz
focaccia-qemu-964a4f2c2972ec9c7574b87541d6070ef5d22f4f.zip
accel/tcg: Take mmap lock in the whole cpu_memory_rw_debug() function
Simplify user implementation of cpu_memory_rw_debug() by
taking the mmap lock globally. See commit 87ab2704296
("linux-user: Allow gdbstub to ignore page protection")
for why this lock is necessary.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250217130610.18313-4-philmd@linaro.org>
Diffstat (limited to 'accel/tcg/user-exec.c')
0 files changed, 0 insertions, 0 deletions