diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-01-24 12:25:48 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-01-30 10:39:37 +0100 |
commit | a4cda3f5df2e693893aa076403867fda8dec5584 (patch) | |
tree | a3c7fa4bc0cfa795d57a51bd4093921acaa7d2bf /scripts/xml-preprocess.py | |
parent | b497b0376cb60ae786ec12cffb259641ec1314eb (diff) | |
download | qemu-a4cda3f5df2e693893aa076403867fda8dec5584.zip qemu-a4cda3f5df2e693893aa076403867fda8dec5584.tar.gz qemu-a4cda3f5df2e693893aa076403867fda8dec5584.tar.bz2 |
hw/s390x/s390-virtio-ccw: Fix a record/replay deadlock
Booting an s390x VM in record/replay mode hangs due to a deadlock
between rr_cpu_thread_fn() and s390_machine_reset(). The former needs
the record/replay mutex held by the latter, and the latter waits until
the former completes its run_on_cpu() request.
Fix by temporarily dropping the record/replay mutex, like it's done in
pause_all_vcpus().
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20250124112625.23050-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