Please see justification in the commits.
This series applies on top of some of the refactors from
https://www.redhat.com/archives/libvir-list/2020-May/msg00188.html
Peter Krempa (2):
qemu: Forbid non-raw images for disk type='lun' with vitio-blk
frontend
qemu: domain: Forbid slice/encryption/copy_on_read with disk
type='lun'
src/qemu/qemu_domain.c | 19 +++++++++++++++++++
src/qemu/qemu_validate.c | 9 ++++-----
tests/qemuxml2argvdata/virtio-lun.args | 4 ++--
tests/qemuxml2argvdata/virtio-lun.xml | 4 ++--
tests/qemuxml2xmloutdata/virtio-lun.xml | 4 ++--
5 files changed, 29 insertions(+), 11 deletions(-)
--
2.26.2