[libvirt PATCH 5/6] util: refactor virNetDevBandwidthPlug