This series adds support for blkio.weight_device.
changes from v3:
- fix some memory leaks
- don't store major/minor, do the convertion from device path to
major/minor only when enforcing the weight_device limits
- use virStrToLong_i instead of atoi
- use c_isdigit instead of isdigit
- fix some typos
Hu Tao (2):
Add VIR_TYPED_PARAM_STRING
add interface for blkio.weight_device
daemon/remote.c | 34 +++++++-
include/libvirt/libvirt.h.in | 34 +++++++-
src/conf/domain_conf.c | 129 ++++++++++++++++++++++++++-
src/conf/domain_conf.h | 16 ++++
src/libvirt.c | 38 ++++++++
src/libvirt_private.syms | 2 +
src/qemu/qemu_cgroup.c | 22 +++++
src/qemu/qemu_driver.c | 199 +++++++++++++++++++++++++++++++++++++++--
src/remote/remote_driver.c | 30 ++++++-
src/remote/remote_protocol.x | 2 +
src/remote_protocol-structs | 2 +
src/rpc/gendispatch.pl | 2 +-
src/util/cgroup.c | 33 +++++++
src/util/cgroup.h | 3 +
src/util/util.c | 15 +++
src/util/util.h | 2 +
tools/virsh.c | 69 +++++++++++++--
tools/virsh.pod | 5 +-
18 files changed, 608 insertions(+), 29 deletions(-)
--
1.7.3.1