diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-01-23 13:37:53 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-01-30 10:39:37 +0100 |
commit | ba68dd7d475ee2f83e285a21cac3e5e8e8c54bff (patch) | |
tree | 00931cdcc204d3c141c997c97fa346d66fd4273e /scripts/xml-preprocess.py | |
parent | c8b2deb9214b45349c83e174dfc5edc6d58be434 (diff) | |
download | qemu-ba68dd7d475ee2f83e285a21cac3e5e8e8c54bff.zip qemu-ba68dd7d475ee2f83e285a21cac3e5e8e8c54bff.tar.gz qemu-ba68dd7d475ee2f83e285a21cac3e5e8e8c54bff.tar.bz2 |
target/s390x: Fix PPNO execution with icount
Executing PERFORM RANDOM NUMBER OPERATION makes QEMU exit with "Bad
icount read" when using record/replay. This is caused by
icount_get_raw_locked() if the current instruction is not the last one
in the respective translation block.
For the x86_64's rdrand this is resolved by calling
translator_io_start(). On s390x one uses IF_IO in order to make this
call happen automatically.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250123123808.194405-1-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions