[Engine-devel] Disk Cloning When Creating a VM via a Template

Livnat Peer lpeer at redhat.com
Sun Apr 29 09:40:50 UTC 2012


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.
> 

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)


Thanks, Livnat



More information about the Engine-devel mailing list