mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
a7db0b757d
Add the appropriate entries into the schema to allow encryption of the backup or scratch image. Since we use blockdev internals for everything no changes to the code are actually necessary. https://bugzilla.redhat.com/show_bug.cgi?id=1811906 Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
31 lines
1015 B
XML
31 lines
1015 B
XML
<domainbackup mode="pull">
|
|
<incremental>1525889631</incremental>
|
|
<server transport='tcp' name='localhost' port='10809'/>
|
|
<disks>
|
|
<disk name='vda' type='file' exportname='test-vda' exportbitmap='blah'>
|
|
<driver type='qcow2'/>
|
|
<scratch file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdb' type='file' exportname='test-vda' exportbitmap='blah'>
|
|
<driver type='qcow2'/>
|
|
<scratch file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdb'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
<disk name='vdc' type='block'>
|
|
<driver type='qcow2'/>
|
|
<scratch dev='/dev/block'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdc'/>
|
|
</encryption>
|
|
</scratch>
|
|
</disk>
|
|
</disks>
|
|
</domainbackup>
|