[libvirt] [PATCH 0/2] network: bandwidth tuning in session mode revert patch

Erik Skultety eskultet at redhat.com
Thu Oct 30 15:14:12 UTC 2014


As Laine noted correctly, we should be testing for privileges on a global scale,
when trying to set bandwidth parameters. Therefore I moved the check from qemu_driver.c
and qemu_command.c into virnetdevbandwidth.c

Erik Skultety (2):
  qemu: revert patch - bandwidth tuning in session mode
  Iface: disallow network tuning in session mode globally

 src/libvirt_private.syms          |  4 ++++
 src/qemu/qemu_command.c           | 11 -----------
 src/qemu/qemu_driver.c            |  6 ------
 src/util/virnetdevbandwidth.c     | 31 ++++++++++++++++++++++++-------
 src/util/virnetdevbandwidthpriv.h | 36 ++++++++++++++++++++++++++++++++++++
 tests/virnetdevbandwidthtest.c    |  5 +++--
 6 files changed, 67 insertions(+), 26 deletions(-)
 create mode 100644 src/util/virnetdevbandwidthpriv.h

-- 
1.9.3




More information about the libvir-list mailing list