[libvirt] [PATCH v2 0/2] add blkio.weight_device support

Hu Tao hutao at cn.fujitsu.com
Thu Sep 8 06:59:54 UTC 2011


This series adds support for blkio.weight_device.

changes from v1:

- update remote_protocol-structs to make `make check` pass
- fix some memleaks
- compared the sizes of remote_typed_param before and after
  patch 1 using pdwtags, doesn't change
- libvirtd(before patch) returns an error message
    error: Unable to decode message payload
  if connect to it and send a remote_typed_param(after patch)
  via virsh(after patch)

Hu Tao (2):
  Add VIR_TYPED_PARAM_STRING
  add interface for blkio.weight_device

 daemon/remote.c              |   20 +++++
 include/libvirt/libvirt.h.in |   13 +++-
 src/conf/domain_conf.c       |  142 ++++++++++++++++++++++++++++++++++-
 src/conf/domain_conf.h       |   15 ++++
 src/libvirt_private.syms     |    1 +
 src/qemu/qemu_cgroup.c       |   22 ++++++
 src/qemu/qemu_driver.c       |  170 +++++++++++++++++++++++++++++++++++++++++-
 src/remote/remote_driver.c   |   15 ++++
 src/remote/remote_protocol.x |    2 +
 src/remote_protocol-structs  |    2 +
 src/util/cgroup.c            |   33 ++++++++
 src/util/cgroup.h            |    3 +
 tools/virsh.c                |   31 ++++++++
 tools/virsh.pod              |    5 +-
 14 files changed, 467 insertions(+), 7 deletions(-)

-- 
1.7.3.1




More information about the libvir-list mailing list