]> xenbits.xensource.com Git - libvirt.git/commit
conf: Move virDomainClearNetBandwidth() to src/hypervisor/
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2024 08:05:10 +0000 (10:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2024 18:45:11 +0000 (20:45 +0200)
commit93ff328ea01256b0d2aedad8d3914a93c9043ad7
tree216693f08282d0ba0c2722e5b5d71f65edb570c6
parent378dc6a32befa11ca04e488c34c202c15b224cf6
conf: Move virDomainClearNetBandwidth() to src/hypervisor/

The reason virDomainClearNetBandwidth() exists in src/conf/ is
that at the time its introduction we did not have a better place.
But now we do. Firstly, virDomainClearNetBandwidth() is
hypervisor agnostic code, but really has nothing to do with
domain configuration (it doesn't parse/format XML). Secondly, in
near future it'll call another function from src/hypervisor/ and
that's not really allowed from src/conf/.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/netdev_bandwidth_conf.c
src/conf/netdev_bandwidth_conf.h
src/hypervisor/domain_interface.c
src/hypervisor/domain_interface.h
src/libvirt_private.syms