]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fail on attempt to set 'floor' if interface type is not 'network'
authorPavel Mores <pmores@redhat.com>
Fri, 14 Feb 2020 16:26:21 +0000 (17:26 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 17 Feb 2020 16:25:59 +0000 (17:25 +0100)
commit92a71456aceb77e6897a68d1699f2f9d016ca8c5
treea2441acf5cb6af2ad145802da388ef7a7bcb1368
parent17f430eb5cfaaa3388077f2b0856f011f0b2a4c3
qemu: fail on attempt to set 'floor' if interface type is not 'network'

QoS 'floor' setting is documented to be only supported for interfaces of
type 'network'.  Fail with an error message on attempt to set 'floor' on
an interface of any other type.

Signed-off-by: Pavel Mores <pmores@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c