Add 'snapshot_create' as monitor command
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>
Changed in qemu-kvm (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Thanks for the patch, Alessandro.
Could you please send this upstream to the qemu-devel@ mailing list?