Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Cause: Snapshotting ignored drives with removable media
Consequence: Reverting to a snapshot didn't revert writes to floppies
Fix: Ignore drives with removable media only when read-only or empty
Result: Snapshotting now treats writable floppies like any other writable drive
Verified this issue with qemu-kvm-0.12.1.2-2.199.el6,the steps are as same as comment0.
After step4
Results
# ./bb.sh
mainqcow2.qcow2
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 2.8M 2011-10-20 09:35:48 00:00:04.197
qemuiso.qcow2
qemufloppy.qcow2
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 0 2011-10-20 09:35:48 00:00:04.197
Comment 13Markus Armbruster
2011-11-18 09:48:49 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause: Snapshotting ignored drives with removable media
Consequence: Reverting to a snapshot didn't revert writes to floppies
Fix: Ignore drives with removable media only when read-only or empty
Result: Snapshotting now treats writable floppies like any other writable drive
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHSA-2011-1531.html
Description of problem: For now,no snapshot on floppy Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.193.el6.x86_64 guest kernel #uname -r 2.6.32-195.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.boot guest /usr/libexec/qemu-kvm -no-kvm-pit-reinjection -rtc-td-hack -m 1G -smp 1 -M rhel6.2.0 -drive file=/root/zhang/armbu/mainqcow2.qcow2,if=none,id=drive-virtio0-0-0,format=qcow2,werror=stop,rerror=stop,cache=none,aio=native -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virti0-0-0,bootindex=1 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:56:00:94:a3:21 -uuid 9e6f04cf-2ad7-45aa-9333-2d2ee26570c6 -balloon none -monitor stdio -vnc :10 -drive file=/root/zhang/armbu/qemuiso.qcow2,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0 -fda /root/zhang/armbu/qemufloppy.qcow2 2.(qemu) savevm 3.quit 4../bb.sh cat bb.sh for i in mainqcow2.qcow2 qemuiso.qcow2 qemufloppy.qcow2; do echo $i; qemu-img snapshot -l $i; done Actual results: mainqcow2.qcow2 Snapshot list: ID TAG VM SIZE DATE VM CLOCK 1 1 3.0M 2011-09-29 04:37:57 00:00:06.353 qemuiso.qcow2 qemufloppy.qcow2 Expected results: should be also have snapshot on floppy Additional info: