Bug 743269
Summary: | Hot unplug of snapshot device crashes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Markus Armbruster <armbru> |
Component: | qemu-kvm | Assignee: | Markus Armbruster <armbru> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2 | CC: | acathrow, juzhang, mkenneth, tburke, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.206.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Snapshot device bookkeeping wasn't prepared for hot unplug
Consequence: Unplugging the "wrong" block device could make a future snapshot operation behave unpredictably or crash
Fix: Fix the bookkeeping
Result: Unplugging block devices no longer endangers future snapshot operations
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 16:04:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 742458, 748554 |
Description
Markus Armbruster
2011-10-04 12:57:51 UTC
Reproduced with qemu-kvm-0.12.1.2-2.195.el6. 1. boot guest #MALLOC_PERTURB_=234 /usr/libexec/qemu-kvm -m 384 --enable-kvm --nodefaults -monitor stdio -usb -S -vnc :0 2.(qemu) info snapshots No available block device supports snapshots 3.(qemu) __com.redhat_drive_add id=none1,file=tmp.qcow2 4.(qemu) device_add usb-storage,id=foo,drive=none1 (qemu) info snapshots 5.Snapshot devices: none1 Snapshot list (from none1): ID TAG VM SIZE DATE VM CLOCK 6.(qemu) device_del foo 7.(qemu) info snapshots Results: Snapshot devices: Segmentation fault (core dumped) Verified with qemu-kvm-0.12.1.2-2.199.el6. After step7 Results: (qemu) info snapshots No available block device supports snapshots We also did virtual block and usb device functional testing,did not find block or regression bugs. https://tcms.engineering.redhat.com/run/29499/ https://tcms.engineering.redhat.com/run/29338/ Moving to ON_QA because Errata Tool did not do it 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: Snapshot device bookkeeping wasn't prepared for hot unplug Consequence: Unplugging the snapshot device could make a future snapshot operation behave unpredictably or crash Fix: Fix the bookkeeping Result: Unplugging the snapshot device is now safe Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1,4 @@ Cause: Snapshot device bookkeeping wasn't prepared for hot unplug -Consequence: Unplugging the snapshot device could make a future snapshot operation behave unpredictably or crash +Consequence: Unplugging the "wrong" block device could make a future snapshot operation behave unpredictably or crash Fix: Fix the bookkeeping -Result: Unplugging the snapshot device is now safe+Result: Unplugging block devices no longer endangers future snapshot operations 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 |