]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add encryption engine property
authorOr Ozeri <oro@il.ibm.com>
Sun, 24 Oct 2021 09:51:28 +0000 (04:51 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Oct 2021 12:06:15 +0000 (14:06 +0200)
commitab1d46d61289baf86812153c994aed29863e29ca
tree267ce71be87cf1a3d1b61cdab39291d7b2eb74e5
parent0398be5da693fd32dfd057c194068a3754239df5
conf: add encryption engine property

This commit extends libvirt XML configuration to support a custom encryption engine.
This means that <encryption format="luks" engine="qemu">  becomes valid.
The only engine for now is qemu. However, a new engine (librbd) will be added in an upcoming commit.
If no engine is specified, qemu will be used (assuming qemu driver is used).

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
16 files changed:
docs/formatstorageencryption.html.in
docs/schemas/domainbackup.rng
docs/schemas/storagecommon.rng
src/conf/storage_encryption_conf.c
src/conf/storage_encryption_conf.h
src/qemu/qemu_block.c
src/qemu/qemu_domain.c
tests/qemustatusxml2xmldata/upgrade-out.xml
tests/qemuxml2argvdata/disk-nvme.xml
tests/qemuxml2argvdata/encrypted-disk-usage.xml
tests/qemuxml2argvdata/luks-disks.xml
tests/qemuxml2argvdata/user-aliases.xml
tests/qemuxml2xmloutdata/disk-slices.x86_64-latest.xml
tests/qemuxml2xmloutdata/encrypted-disk.xml
tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-latest.xml
tests/qemuxml2xmloutdata/luks-disks-source.xml