Re: [PATCHv2 0/5] Add new command domiftune

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011年12月23日 15:09, Hu Tao wrote:
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:

   - rebase
   - use vshGetTypedParamValue in patch 5


Hu Tao (5):
   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

  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      |    2 +
  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                |  198 +++++++++++++++++++
  tools/virsh.pod              |   21 ++
  12 files changed, 1004 insertions(+), 1 deletions(-)


Not neccessary, but adding the support for LXC driver will be better.

Regards,
Osier

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]