]> xenbits.xensource.com Git - libvirt.git/commit
network: stop passing virDomainNetDefPtr into bandwidth functions
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 3 Sep 2018 11:02:22 +0000 (12:02 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 17 Apr 2019 13:12:56 +0000 (14:12 +0100)
commitd0a160d645284d096c6eee0be397ab6bf2ae03ed
treeea589660b07963e2a01902b4ccfabbd4c8fdafd0
parent85f915d8be58dfdbab40cc3e971ea89a76e8d058
network: stop passing virDomainNetDefPtr into bandwidth functions

The networkPlugBandwidth & networkUnplugBandwidth methods currently take
a virDomainNetDefPtr. To remove the dependency on the domain config
struct, pass individual parameters instead.

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/network/bridge_driver.c