Currently cpu.shares can only be configured by editing domains' xmls.
this series enables us to change cpu.shares from virsh cmd schedinfo
even when domain is inactive.
changes:
v3:
- add parameters --config, --live and --current.
v2:
- since v1 patches that delete all generated RPC files(by Daniel) and
that refactor remote generator(by Matthias) have gone into master
branch, which affects the series heavily. So rebase the series on
the latest code.
Hu Tao (4):
introduce virDomainSetSchedulerParametersFlags
qemu: introduce qemuSetSchedulerParametersFlags
remote: introduce remoteSetSchedulerParametersFlags
virsh: add parameters --live, --config and --current to cmd schedinfo
daemon/remote.c | 71 +++++++++++++++++++++++++++++++
include/libvirt/libvirt.h.in | 14 ++++++
python/generator.py | 1 +
src/driver.h | 8 ++++
src/libvirt.c | 64 ++++++++++++++++++++++++++++
src/libvirt_public.syms | 1 +
src/qemu/qemu_driver.c | 94 +++++++++++++++++++++++++++++++----------
src/remote/remote_driver.c | 69 ++++++++++++++++++++++++++++++
src/remote/remote_protocol.x | 9 ++++-
tools/virsh.c | 25 +++++++++++-
tools/virsh.pod | 6 ++-
11 files changed, 336 insertions(+), 26 deletions(-)
--
1.7.3.1