based on v6 by Eric.
v6:
https://www.redhat.com/archives/libvir-list/2011-November/msg00202.html
Patches 1-3 are identical to v6 and have been already ACKed. posted here for
your convenience.
changes in patch 4:
- fix some memory leaks
- type of device weight changed to unsigned int
- replace strncpy with virStrcpy
changes in patch 5:
- remove virCgroupGetBlkioDeviceWeight
- live value of blkio.device_weight is read from vm's def
- commas to seprate fields rather than commas between device and
weight and semicolon between device-weight pairs
- add virCgroupSetBlkioDeviceWeight to libvirt_private.syms
Eric Blake (3):
API: add VIR_TYPED_PARAM_STRING
API: remote support for VIR_TYPED_PARAM_STRING
API: add trivial qemu support for VIR_TYPED_PARAM_STRING
Hu Tao (2):
blkiotune: add interface for blkiotune.device_weight
blkiotune: add qemu support for blkiotune.device_weight
daemon/remote.c | 88 +++++++++++-----
docs/formatdomain.html.in | 29 +++++-
docs/schemas/domaincommon.rng | 12 ++
include/libvirt/libvirt.h.in | 42 +++++++-
src/conf/domain_conf.c | 138 +++++++++++++++++++++++-
src/conf/domain_conf.h | 17 +++
src/libvirt.c | 92 ++++++++++++++---
src/libvirt_internal.h | 9 ++-
src/libvirt_private.syms | 4 +
src/qemu/qemu_cgroup.c | 22 ++++
src/qemu/qemu_driver.c | 238 +++++++++++++++++++++++++++++++++++++++--
src/remote/remote_driver.c | 28 +++++-
src/remote/remote_protocol.x | 2 +
src/remote_protocol-structs | 2 +
src/rpc/gendispatch.pl | 3 +-
src/util/cgroup.c | 20 ++++
src/util/cgroup.h | 3 +
src/util/util.c | 14 +++
src/util/util.h | 2 +
tools/virsh.c | 44 +++++++-
tools/virsh.pod | 6 +-
21 files changed, 750 insertions(+), 65 deletions(-)
--
1.7.3.1