Add 'snapshot_create' as monitor command

Bug #594614 reported by Andreas Florath
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: qemu-kvm

This is a feature request.

Currently there is the possibility to create snapshots of a whole VM
(memory, state and all disks) by using the monitor command 'savevm'.
But it is impossible to create just snapshots from (dedicated) disk drives. Also the VM must not be stopped when creating snapshots from the disk.
Idea for backup: switch database into backup mode, create snapshot, switch database back into 'normal' mode, create a backup using qemu-img convert.
Therefore a new monitor command was implemented (see attached patch).
The command 'snapshot_create' takes two optional parameters:
o tag / id: same as for savevm
o device: the name of the device which should be snapshotted. If empty all devices are snapshotted.
This command can also be used with the QMP interface.

Signed-off-by: Andreas Florath <gnu4u at flonatel dot org>

Tags: patch
Revision history for this message
Andreas Florath (florath) wrote :
Changed in qemu-kvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for the patch, Alessandro.

Could you please send this upstream to the qemu-devel@ mailing list?

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Incomplete
tags: added: patch
Revision history for this message
Andreas Florath (florath) wrote :

Hello Serge,

comment from Bug #595591 applies also here.

Changed in qemu-kvm (Ubuntu):
status: Incomplete → New
Chuck Short (zulcss)
Changed in qemu-kvm (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Hi Andreas,

did you ever send these patches upstream?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.