[libvirt] [PATCHv3 0/6] Add new command domiftune

Hu Tao hutao at cn.fujitsu.com
Wed Dec 28 09:56:51 UTC 2011


This series adds a new command domiftune to get/set parameters of
domain's network interfaces. Supported parameters are bandwidth
settings. 

Currently the network interface bandwidth can only be set:

  - in domain's xml before the domain is up
  - when attaching an interface by attach-interface

With this series, users can change network interface bandwidth
settings using virsh, whether the domain is running or not.

changes:

  - fix some typos
  - improvements on docs
  - use virDomainLiveConfigHelperMethod
  - some improvements in qemu_driver


Hu Tao (6):
  Add API virDomain{S,G}etInterfaceParameters
  virDomain{S,G}etInterfaceParameters: the main entry points
  Add virDomain{S,G}etInterfaceparameters support to the remote driver
  Add a function virDomainFindNetDef
  Add virDomain{S,G}etInterfaceParameters support to qemu driver
  Enable the virDomain{S,G}etInterfaceParameters in virsh

 daemon/remote.c              |   64 ++++++++
 include/libvirt/libvirt.h.in |   50 ++++++
 python/generator.py          |    2 +
 src/conf/domain_conf.c       |   39 +++++
 src/conf/domain_conf.h       |    3 +
 src/driver.h                 |   12 ++
 src/libvirt.c                |  129 ++++++++++++++++
 src/libvirt_private.syms     |    1 +
 src/libvirt_public.syms      |    2 +
 src/qemu/qemu_driver.c       |  337 ++++++++++++++++++++++++++++++++++++++++++
 src/remote/remote_driver.c   |   52 +++++++
 src/remote/remote_protocol.x |   28 ++++-
 src/remote_protocol-structs  |   24 +++
 tools/virsh.c                |  198 +++++++++++++++++++++++++
 tools/virsh.pod              |   21 +++
 15 files changed, 961 insertions(+), 1 deletions(-)

-- 
1.7.4.4




More information about the libvir-list mailing list