mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
6f33e441e2
Call the post-processing function so that we can validate that it does the correct thing. virDomainBackupAlignDisks requires disk definitions to be present so let's fake them by copying disks from the backup definition and add one extra disk 'vdextradisk'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
20 lines
618 B
XML
20 lines
618 B
XML
<domainbackup mode='pull'>
|
|
<incremental>1525889631</incremental>
|
|
<server transport='tcp' name='localhost' port='10809'/>
|
|
<disks>
|
|
<disk name='vda' backup='yes' type='file' exportname='test-vda' exportbitmap='blah'>
|
|
<driver type='qcow2'/>
|
|
<scratch file='/path/to/file'>
|
|
<seclabel model='dac' relabel='no'/>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdb' backup='yes' type='block'>
|
|
<driver type='qcow2'/>
|
|
<scratch dev='/dev/block'>
|
|
<seclabel model='dac' relabel='no'/>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdextradisk' backup='no'/>
|
|
</disks>
|
|
</domainbackup>
|