[pve-devel] qemu-server : qm copy implementation V2

Alexandre Derumier aderumier at odiso.com
Mon Oct 29 17:23:44 CET 2012


changelog V2:

- always alloc image before copy (need qemu-img patch to skip bdrv create)
- add -snapname option. (only qcow2 for now, as qemu-img convert -s snapname, work only with qcow2)
- check if vm is running or not. (qemu-img convert with qcow2 snapshot work online)
- cdrom : replace by none if cdrom exist in source config
- replace vm "name" by vm "name-copy"
- add target storeid permission check
- display qemu-img percentage progression

Need to be implemented : export/import from snapshot for other storage (wait for new backup framework)






More information about the pve-devel mailing list