mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
86d8d11c14
Test file created by: qemu-img create -f luks /var/lib/libvirt/images/luks 10M \ -o key-secret=asdf --object secret,id=asdf,format=raw,data=asdf Used in libvirt as: <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/images/luks'/> <target dev='vda' bus='virtio'/> <encryption format='luks'> <secret type='passphrase' uuid='9b2c831a-fdb9-4c09-873c-1959580589e1'/> </encryption> </disk> Reviewed-by: Eric Blake <eblake@redhat.com>
7 lines
158 B
Plaintext
7 lines
158 B
Plaintext
drive-virtio-disk0
|
|
filename : '/var/lib/libvirt/images/luks'
|
|
format node : '#block136'
|
|
format drv : 'luks'
|
|
storage node: '#block033'
|
|
storage drv : 'file'
|