[libvirt] [PATCH v3 0/2] network: Add network bandwidth for ethernet type interfaces

Anirban Chakraborty abchak at juniper.net
Wed Oct 8 19:50:04 UTC 2014


V3:
Addressed issues pointed out in V2
Split into two patches

V2:
Addressed comments raised in review of V1.
Consolidate calls to virNetDevBandwidthSet.
Clear bandwidth settings when the interface is detached or domain
destroyed.

V1:
Ethernet interfaces in libvirt currently do not support bandwidth setting.
For example, following xml file for an interface will not apply these
settings to corresponding qdiscs.

Signed-off-by: Anirban Chakraborty <abchak at juniper.net>

Anirban Chakraborty (2):
    network: Refactor code to add bandwidth support for ethernet interfaces
    network: Add code for setting bandwidth for ethernet interfaces

 src/conf/domain_conf.h      |  8 ++++++++
 src/lxc/lxc_driver.c        |  3 +++
 src/lxc/lxc_process.c       | 18 +++++++++---------
 src/qemu/qemu_command.c     | 25 +++++++++++++++++++------
 src/qemu/qemu_command.h     |  2 ++
 src/qemu/qemu_driver.c      |  3 +++
 src/qemu/qemu_hotplug.c     | 12 ++++++++++++
 src/qemu/qemu_process.c     |  3 +++
 src/util/virnetdevmacvlan.c | 10 ----------
 src/util/virnetdevmacvlan.h |  1 -
 10 files changed, 59 insertions(+), 26 deletions(-)

-- 
1.9.1




More information about the libvir-list mailing list