
----- Original Message -----
On 26/04/12 22:24, Schoenbrun, Dustin wrote:
I know that floating disks are coming in the next version of oVirt, but in the interim I want to know internally what the procedure is when a disk is cloned when creating a VM from a template.
I'm not sure what floating disks have to do with it (it would be relevant for cloning a single disk, not cloning an entire VM). For cloning a single disk I believe that floating disk is already available in master by the way.
Hi,
Today when creating a VM from template the user can choose the provisioning method: - It can be 'Thin' in which the engine is taking a snapshot of the template disks (running AddVMCommand which executes CreateSnapshotFromTemplateCommand) - Or 'Clone' which results in cloning the template disks (executes AddVmFromTemplateCommand which in turn executes CreateCloneOfTemplateCommand)
For createCloneOfTemplateCommand, other than the VM configuration being copied, the engine creates copies of all of the template images (calls moveImage in vdsm per Image).
Thanks, Livnat _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel