>>OK, I see. But then template copy/clone only works if the template if offline?
I have also add online vm cloning feature, without template. But yes, with template flag on current, vm is offline. My disk copy code, just use qemu-img if offline or drive-mirror if online. I reuse same copy code for "qm move", that's why I think we can keep qemu-img for offline as implementation is already done. ----- Mail original ----- De: "Dietmar Maurer" <diet...@proxmox.com> À: "Alexandre DERUMIER" <aderum...@odiso.com> Cc: "Michael Rasmussen" <m...@datanom.net>, pve-devel@pve.proxmox.com Envoyé: Lundi 21 Janvier 2013 10:26:14 Objet: RE: [pve-devel] vm migration + storage migration with ndb workflow notes > >>Sorry, but why do you want to copy one drive multiple times? > > This is about vm cloning. (not storage migration, but this is a disk copy in > both case). > Multiple users can clone a template vm at the same time. > > Other thing that qemu-img can do is a copy of a disk > snapshot.(qcow2,rbd,sheepdog) OK, I see. But then template copy/clone only works if the template if offline? (yes, I know - I should read your code instead) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel