]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainValidateStorageSource: Validate new network storage parameters
authorPeter Krempa <pkrempa@redhat.com>
Thu, 5 Mar 2020 16:59:04 +0000 (17:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 14:51:44 +0000 (15:51 +0100)
commitc1409e308f8e10f28ff4977309b2573a1a2d8763
tree3e7beba788b842208c4fe86678ee265e36b9dfae
parent63fd46177367c6653c4c986558f6d0e4a700cfcc
qemuDomainValidateStorageSource: Validate new network storage parameters

Ensure that the new fields are allowed only when -blockdev is used or
when they are in the detected part of the backing chain where qemu will
handle them internally.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c