Created attachment 1376932 [details] Python script to reproduce the crash. Description of problem: Reverting to snapshots causes qemu to fail. Version-Release number of selected component (if applicable): qemu-kvm.x86_64 2:2.10.1-2.fc27 fails qemu-kvm.x86_64 2:2.9.1-2.fc26 DOESN'T fail (i.e. it is a regression) How reproducible: Either run the following commands in virsh, or execute the attached Python script. Steps to Reproduce: 1. Create a VM called "domain". 2a. Execute the following virsh commands: start domain snapshot-create-as domain --name first snapshot-create-as domain --name second snapshot-revert domain second snapshot-revert domain first 2b. Run the attached script. Actual results: There is a message "error: Unable to read from monitor: Connection reset by peer" The VM log says ... 2018-01-04T13:13:28.702765Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/8 (label charserial0) qemu-system-x86_64: /builddir/build/BUILD/qemu-2.10.1/util/qemu-thread-posix.c:397: qemu_event_set: Assertion `ev->initialized' failed. 2018-01-04 13:13:45.119+0000: shutting down, reason=crashed Expected results: There is no crash. Additional info: This issue seems to be loosely related (the log message is the same): https://bugzilla.redhat.com/show_bug.cgi?id=1508799
I'm also hitting this with openQA tests; ones that try to load a snapshot twice die suddenly due to this. I believe 1508799 is actually exactly the same issue, so we clearly have a fix: can the fix be applied to Fedora, please?
OK, since the commit ID was specified in 1508799, I'm just doing it myself. :P Update for F27 coming soon. F26, F28 and Rawhide should not be affected.
qemu-2.10.1-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-38a277227c
Fix confirmed in testing here.
qemu-2.10.1-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-38a277227c
qemu-2.10.1-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
qemu-2.10.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6c1be5e1c8
qemu-2.10.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6c1be5e1c8
qemu-2.10.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.