]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bandwidth: Require network QoS if interface uses 'floor'
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Mar 2013 09:53:21 +0000 (10:53 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Mar 2013 09:51:32 +0000 (10:51 +0100)
commitf3fb916de97e3e9d5405d1b8d78500eb51242bcb
tree6d3ee22d9d2a77972c59082b4d7e479b1f89d479
parent38cc07b7bc76d3ffdf55deb65f4acf11c0fa9014
bandwidth: Require network QoS if interface uses 'floor'

By current implementation, network inbound is required in order
to use 'floor' for guaranteeing  minimal throughput. This is so,
because we want user to tell us the maximal throughput of the
network instead of finding out ourselves (and detect bogus values
in case of virtual interfaces). However, we are nowadays
requiring this only on documentation level. So if user starts a
domain with 'floor' set on one its interfaces, we silently ignore
the setting. We should error out instead.
src/network/bridge_driver.c