]> git.ipfire.org Git - thirdparty/qemu.git/commit
hvf: only update sysreg from owning thread
authorMads Ynddal <m.ynddal@samsung.com>
Wed, 2 Apr 2025 13:52:29 +0000 (15:52 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 May 2025 14:01:22 +0000 (15:01 +0100)
commitd5bd8d8267eba7379d94e0c2e46e54dd475d9886
tree6404f5cf626db816d8e57cc2f5043163e8368dbb
parent90f0078d023fc364c870188075f530f84f652758
hvf: only update sysreg from owning thread

hv_vcpu_set_sys_reg should only be called from the owning thread of the
vCPU, so to avoid crashes, the call to hvf_update_guest_debug is
dispatched to the individual threads.

Tested-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Mads Ynddal <m.ynddal@samsung.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20250402135229.28143-3-mads@ynddal.dk
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/hvf/hvf-all.c