<domainsnapshot>
    <description>Machine snapshot</description>
    {% if name %}
    <name>{{name}}</name>
    {% endif %}
    {% if source %}
    <disks>
    {% for source in diskfiles %}
    <disk name='{{source}}' snapshot='{{type}}'>
        <source file='{{"%s/snapshot_%s_%s.qcow2"|format(poolpath, name, time)}}'/>
    </disk>
    {% endfor %}
    </disks>
    {% endif %}    
</domainsnapshot>
