Re: [PATCH 4/5] conf: Move virDomainClearNetBandwidth() to src/hypervisor/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 12, 2024 at 12:19:04 +0200, Michal Privoznik wrote:
> 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@xxxxxxxxxx>
> ---

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux