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

Osier Yang jyang at redhat.com
Thu Dec 29 10:37:52 UTC 2011


On 2011年12月29日 15:33, 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:
> 
>    - fix a bug that previous bandwidth parameters are lost when
>      setting only inbound or outbound lively
>    - some minor improvements
>    - rename virDomainFindNetDef to virDomainNetFind
> 
> 
> 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 virDomainNetFind
>    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                |  130 ++++++++++++++++
>   src/libvirt_private.syms     |    1 +
>   src/libvirt_public.syms      |    2 +
>   src/qemu/qemu_driver.c       |  353 ++++++++++++++++++++++++++++++++++++++++++
>   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, 978 insertions(+), 1 deletions(-)
> 

Pushed with the addon patches on patches 4/6 and 5/6. Thanks!

Regards,
Osier




More information about the libvir-list mailing list