]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Forbid slice/encryption/copy_on_read with disk type='lun'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 May 2020 08:55:37 +0000 (10:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 May 2020 04:55:00 +0000 (06:55 +0200)
commit5d72c3ce281870192a0d2ea56763c2bd7bb35f36
treeaf9f2f05b964fbbf2a69bed897b489f14fd88622
parentb40ec75296769884ba873d2a72cdda01c2c03c24
qemu: domain: Forbid slice/encryption/copy_on_read with disk type='lun'

Any non-raw block layer feature will not work with raw SCSI command
passthrough via 'scsi-block'. Explicitly refuse use of luks encryption,
storage slices and copy on read.

https://bugzilla.redhat.com/show_bug.cgi?id=1820040

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_validate.c