diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-08-04 00:16:06 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-09-14 12:00:21 -0700 |
commit | db17d2cdb1a10e6fa8aa02de167546c17c893c3c (patch) | |
tree | 44f4083e1a27650814c359fd07506363338399b4 /tcg | |
parent | 76d0042bb2a7601e7a343fd2ff02902658f8a97a (diff) | |
download | qemu-db17d2cdb1a10e6fa8aa02de167546c17c893c3c.zip qemu-db17d2cdb1a10e6fa8aa02de167546c17c893c3c.tar.gz qemu-db17d2cdb1a10e6fa8aa02de167546c17c893c3c.tar.bz2 |
accel/tcg/user-exec: Fix read-modify-write of code on s390 hosts
x86_64 dotnet/runtime uses cmpxchg for code patching. When running it
under s390x qemu-linux user, cpu_signal_handler() does not recognize
this as a write and does not restore PAGE_WRITE cleared by
tb_page_add(), incorrectly forwarding the signal to the guest code.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210803221606.150103-1-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions