[libvirt] [PATCH 0/4] support for changing cpu.shares for inactive domains from virsh cmd
Hu Tao
hutao at cn.fujitsu.com
Fri May 6 06:44:07 UTC 2011
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.
Hu Tao (4):
introduce virDomainSetSchedulerParametersFlags
qemu: introduce qemuSetSchedulerParametersFlags
remote: introduce remoteSetSchedulerParametersFlags
virsh: add --persistent to cmd schedinfo
daemon/remote.c | 71 +++++++++++++++++++++++++++++++++++
daemon/remote_dispatch_args.h | 1 +
daemon/remote_dispatch_prototypes.h | 8 ++++
daemon/remote_dispatch_table.h | 5 ++
include/libvirt/libvirt.h.in | 13 ++++++
python/generator.py | 1 +
src/driver.h | 8 ++++
src/esx/esx_driver.c | 1 +
src/libvirt.c | 62 ++++++++++++++++++++++++++++++
src/libvirt_public.syms | 5 ++
src/libxl/libxl_driver.c | 1 +
src/lxc/lxc_driver.c | 1 +
src/openvz/openvz_driver.c | 1 +
src/phyp/phyp_driver.c | 1 +
src/qemu/qemu_driver.c | 66 +++++++++++++++++++++++++-------
src/remote/remote_driver.c | 69 ++++++++++++++++++++++++++++++++++
src/remote/remote_protocol.c | 15 +++++++
src/remote/remote_protocol.h | 12 ++++++
src/remote/remote_protocol.x | 10 ++++-
src/test/test_driver.c | 1 +
src/uml/uml_driver.c | 1 +
src/vbox/vbox_tmpl.c | 1 +
src/vmware/vmware_driver.c | 1 +
src/xen/xen_driver.c | 1 +
src/xenapi/xenapi_driver.c | 1 +
tools/virsh.c | 14 ++++++-
26 files changed, 354 insertions(+), 17 deletions(-)
--
1.7.3.1
--
Thanks,
Hu Tao
More information about the libvir-list
mailing list