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

Hu Tao hutao at cn.fujitsu.com
Thu Dec 8 02:51:40 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.

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 virDomain{S,G}etInterfaceParameters support to qemu driver
  Enable the virDomain{S,G}etInterfaceParameters in virsh
  Add document for the new command domiftune

 daemon/remote.c              |   64 ++++++
 include/libvirt/libvirt.h.in |   50 +++++
 python/generator.py          |    2 +
 src/driver.h                 |   12 ++
 src/libvirt.c                |  118 ++++++++++++
 src/libvirt_public.syms      |    6 +
 src/qemu/qemu_driver.c       |  434 ++++++++++++++++++++++++++++++++++++++++++
 src/remote/remote_driver.c   |   52 +++++
 src/remote/remote_protocol.x |   28 +++-
 src/remote_protocol-structs  |   24 +++
 tools/virsh.c                |  227 ++++++++++++++++++++++
 tools/virsh.pod              |   21 ++
 12 files changed, 1037 insertions(+), 1 deletions(-)

-- 
1.7.3.1




More information about the libvir-list mailing list