]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainSetInterfaceParameters: Explicitly reject unsupported net types
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Oct 2017 10:42:41 +0000 (12:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Oct 2017 12:59:29 +0000 (14:59 +0200)
commit98696fd170b7ff4ecd4b8499ee1952f11cb26e46
tree6541b723e8d59340e45fee58c1997f1efa3beb65
parentdc162adb9094b5f0e5c847ce2da726b7ab5e2068
qemuDomainSetInterfaceParameters: Explicitly reject unsupported net types

For instance, NET_TYPE_MCAST doesn't support setting QoS. Instead
of claiming success and doing nothing, we should be explicit
about that and report an error.

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