mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
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>
30 lines
865 B
XML
30 lines
865 B
XML
<domainbackup mode="push">
|
|
<incremental>1525889631</incremental>
|
|
<disks>
|
|
<disk name='vda' type='file'>
|
|
<driver type='qcow2'/>
|
|
<target file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
|
|
</encryption>
|
|
</target>
|
|
</disk>
|
|
<disk name='vdb' type='file'>
|
|
<driver type='raw'/>
|
|
<target file='/path/to/file'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdb'/>
|
|
</encryption>
|
|
</target>
|
|
</disk>
|
|
<disk name='vdc' type='block'>
|
|
<driver type='qcow2'/>
|
|
<target dev='/dev/block'>
|
|
<encryption format='luks'>
|
|
<secret type='passphrase' usage='/storage/backup/vdc'/>
|
|
</encryption>
|
|
</target>
|
|
</disk>
|
|
</disks>
|
|
</domainbackup>
|