libvirt/tests/domainbackupxml2xmlout/backup-pull-seclabel.xml
Peter Krempa d0805c27f5 tests: genericxml2xml: Add testing of backup XML files
Now that the parser and formatter are in place we can exercise it on
the test files.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-12-10 12:41:56 +01:00

19 lines
533 B
XML

<domainbackup mode='pull'>
<incremental>1525889631</incremental>
<server transport='tcp' name='localhost' port='10809'/>
<disks>
<disk name='vda' backup='yes' type='file'>
<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>
</disks>
</domainbackup>