1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/domainbackupxml2xmlout/backup-push-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

18 lines
469 B
XML

<domainbackup mode='push'>
<incremental>1525889631</incremental>
<disks>
<disk name='vda' backup='yes' type='file'>
<driver type='raw'/>
<target file='/path/to/file'>
<seclabel model='dac' relabel='no'/>
</target>
</disk>
<disk name='vdb' backup='yes' type='block'>
<driver type='qcow2'/>
<target dev='/dev/block'>
<seclabel model='dac' relabel='no'/>
</target>
</disk>
</disks>
</domainbackup>