Bug 485176
Summary: | RFE: Please implement a 'checkpoint' option for 'virsh save' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Matt McCowan <libvirt> | ||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | unspecified | CC: | berrange, crobinso, dash, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-25 15:11:13 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: | |||||||
Attachments: |
|
this idea upstream http://www.redhat.com/archives/libvir-list/2009-March/msg00205.html libvirt now has full support for doing live snapshots of guests + their storage. commit 2f992d4be4c6157feec4f88ac586f2c50a8fd466 Author: Chris Lalancette <clalance> Date: Wed Mar 31 16:33:13 2010 -0400 Snapshot API framework. Signed-off-by: Chris Lalancette <clalance> |
Created attachment 331653 [details] Implements --checkpoint to avoid a shutdown when 'virsh save' run Description of problem: A backup scenario I'm working on requires a clean snapshot of both VM memory and disk state. Something like a 'virsh save --checkpoint domain filename' shouldn't shutdown the VM shutdown, just leave it paused. It can then be resumed after the backup system has done its thing. A '--checkpoint' option just like the migrate '--live' feature would enable a 'virsh save' to be done that leaves the VM in a paused state rather than shutting it down. Similar to what is already available in Xen doing an 'xm save -c domain filename' Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 'virsh save domain filename' always shuts the domain down Actual results: A non-running domain Expected results: In the case of KVM hopefully a paused domain that can be resumed Additional info: Patch created (against 0.6.0) to implement --checkpoint in 'virsh save'