[libvirt-users] qemu-img snapshots configuration

sergio mailbox at sergio.spb.ru
Tue Jun 30 03:14:27 UTC 2015


Hello.

What it the difference in external snapshot configuration with and
without <domainsnapshot> ?

What is the difference between vda, vdb and vdc in the following example?
(From https://libvirt.org/formatsnapshot.html)


<domainsnapshot>
...
  <memory snapshot='no'/>
  <disks>
    <disk name='vda' snapshot='external'>
      <driver type='qcow2'/>
      <source file='/path/vda-delta.qcow2'/>
    </disk>
    <disk name='vdb' snapshot='no'/>
    <disk name='vdc' snapshot='no'/>
  </disks>
  <domain>
    ...
    <devices>
      <disk type='file' device='disk'>
        <driver name='qemu' type='raw'/>
        <source file='/path/vda-img.qcow2'/>
        <target dev='vda' bus='virtio'/>
      </disk>
      <disk type='file' device='disk' snapshot='external'>
        <driver name='qemu' type='raw'/>
        <source file='/path/vdb-img.qcow2'/>
        <target dev='vdb' bus='virtio'/>
      </disk>
      <disk type='file' device='disk' snapshot='external'>
        <driver name='qemu' type='raw'/>
        <source file='/path/vdc-img.qcow2'/>
        <backingStore type='file'>
          <format type='qcow2'/>
          <source file='/path/vdc-delta.qcow2'/>
        </backingStore>
        <target dev='vdc' bus='virtio'/>
      </disk>
      ...
    </devices>
  </domain>
</domainsnapshot>


-- 
sergio.




More information about the libvirt-users mailing list