Bug 735495
| Summary: | virsh should have better snapshot support | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Blake <eblake> |
| Component: | libvirt | Assignee: | Eric Blake <eblake> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | dyuan, mzhan, nzhang, rwu, veillard, whuang, yupzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.4-8.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 11:28:14 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: | 638510, 735498 | ||
|
Description
Eric Blake
2011-09-02 19:56:58 UTC
Getting this fixed is a prereq to bug 638510 support for live snapshots via the snapshot_blkdev qemu monitor command. It will make testing the various other patches easier, as well as avoiding merge conflicts which makes the code easier to maintain. It is also well-isolated to virsh, without most patches not even touching libvirtd proper. Tested with libvirt-0.9.4-11.el6.x86_64, move this to VERIFIED. 1. # virsh snapshot-current rhel6 --name s4 2. # virsh snapshot-parent rhel6 s4 s3 3. # virsh qemu-monitor-command rhel6 --hmp info block drive-virtio-disk0: type=hd removable=0 file=/var/lib/libvirt/images/rhel6.img ro=0 drv=qcow2 encrypted=0 4. # virsh list Id Name State ---------------------------------- 1 rhel6 running # virsh undefine rhel6 Domain rhel6 has been undefined # virsh list Id Name State ---------------------------------- 1 rhel6 running # virsh destroy rhel6 Domain rhel6 destroyed # virsh list --all Id Name State ---------------------------------- 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/RHBA-2011-1513.html |