]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: support crypto device
authorzhenwei pi <pizhenwei@bytedance.com>
Tue, 17 Jan 2023 01:46:53 +0000 (09:46 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Jan 2023 15:00:54 +0000 (16:00 +0100)
commitff1941c93567beb4eda324a1af0b0bd4182bc1d9
tree9567e37f116782caee213f73d0dadcdf68cee83c
parent0eb358e7998f55ef86d517edcffd26959fcba634
qemu: command: support crypto device

Support virtio-crypto device, also support cryptodev types:
- builtin
- lkcf

Finally, we can launch a VM(QEMU) with one or more crypto devices by
libvirt.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/crypto-builtin.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c