Red Hat Bugzilla – Bug 485176
RFE: Please implement a 'checkpoint' option for 'virsh save'
Last modified: 2010-05-25 11:11:13 EDT
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):
Steps to Reproduce:
1. 'virsh save domain filename' always shuts the domain down
A non-running domain
In the case of KVM hopefully a paused domain that can be resumed
Patch created (against 0.6.0) to implement --checkpoint in 'virsh save'
this idea upstream
libvirt now has full support for doing live snapshots of guests + their storage.
Author: Chris Lalancette <email@example.com>
Date: Wed Mar 31 16:33:13 2010 -0400
Snapshot API framework.
Signed-off-by: Chris Lalancette <firstname.lastname@example.org>