[libvirt] [PATCH v3 1/2] network: Refactor code to add bandwidth support for ethernet interfaces