Bug 817226
Summary: | [RFE] support domain offline --disk-only snapshots | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Alex Jia <ajia> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cwei, dyuan, eblake, mzhan, pkrempa, rbalakri, shyu, yisun |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | v1.0.1 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-22 11:32:42 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alex Jia
2012-04-28 06:48:23 UTC
This is on my personal pet-peeve list. I definitely plan to fix this in time for 6.4, because it is not only frequently requested upstream, but because I can use it for making my other disk coding tasks easier. The work is straightforward - if the domain is offline, wire up qemu-img to do the right things. is this a fixed bug? (In reply to yisun from comment #2) > is this a fixed bug? Indeed it is: Upstream implemented this feature in: commit 9b5a514b31f0a092cff5402e37d06d1c31f1b992 Author: Peter Krempa <pkrempa> Date: Mon Oct 15 17:35:24 2012 +0200 snapshot: qemu: Add support for external inactive snapshots This patch adds support for external disk snapshots of inactive domains. The snapshot is created by calling using qemu-img by calling: qemu-img create -f format_of_snapshot -o backing_file=/path/to/src,backing_fmt=format_of_backing_image /path/to/snapshot in case the backing image format is known or probing is allowed and otherwise: qemu-img create -f format_of_snapshot -o backing_file=/path/to/src /path/to/snapshot on each of the disks selected for snapshotting. This patch also modifies the snapshot preparing function to support creating external snapshots and to sanitize arguments. For now the user isn't able to mix external and internal snapshots but this restriction might be lifted in the future. v1.0.0-46-g9b5a514 |