]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add disk post parse to qemublocktest
authorOr Ozeri <oro@il.ibm.com>
Sun, 24 Oct 2021 09:51:26 +0000 (04:51 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Oct 2021 12:06:15 +0000 (14:06 +0200)
commit9696427ad671963dceaf9350c6dbfc825fcc2a3f
treeb501f59f7141c256db74c678cbf3a10e54122236
parent9ff311f1050ba1255f5a8a271c328ecf65f1f4ef
qemu: add disk post parse to qemublocktest

The post parse callback is part of the real (non-test) processing flow.
This commit adds it (for disks) to the qemublocktest flow as well.
Specifically, this will be needed for tests that use luks encryption,
so that the default encryption engine (which is added in an upcoming commit)
will be overridden by qemu.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
tests/qemublocktest.c