[pve-devel] qemu-server : qm copy
Alexandre Derumier
aderumier at odiso.com
Fri Oct 26 14:32:00 CEST 2012
This add
qm copy <vmid> <vmiddest>
This duplicate vmid config, regenerate mac address, and copy disks for new vm.
default destination storeid is the same than source storeid.
default format (if file) is the same than source format.
destinations storage and file format can be override with
qm copy <vmid> <vmiddest> -virtio0 local:qcow2 -virtio1 sheepdog: -virtio2 nfs:raw -virtio3 rbd:
Current implement don't copy snapshots, and copy disks from "you are here" state
Please review, comments are welcome !
(Maybe some permissions checks should be added)
More information about the pve-devel
mailing list