mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 04:45:46 +00:00
1222ada2af
If the 'disk->store' property is already allocated which happens e.g. when the disk is described by the backup XML but the optional filename is not filled in 'virDomainBackupDefAssignStore' would not fill in the default location. Fix the logic to do it also if a 'virStorageSource' categorizes as empty. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
15 lines
478 B
XML
15 lines
478 B
XML
<domainbackup mode='push'>
|
|
<incremental>1525889631</incremental>
|
|
<disks>
|
|
<disk name='vda' backup='yes' type='file' backupmode='incremental' incremental='1525889631'>
|
|
<driver type='raw'/>
|
|
<target file='/path/to/file'/>
|
|
</disk>
|
|
<disk name='vdb' backup='yes' type='file' backupmode='full'>
|
|
<target file='/fake/vdb.qcow2.SUFFIX'/>
|
|
</disk>
|
|
<disk name='hda' backup='no'/>
|
|
<disk name='vdextradisk' backup='no'/>
|
|
</disks>
|
|
</domainbackup>
|