[PATCH 0/4] support for changing cpu.shares for inactive domains from virsh cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]