[PATCH v2 0/3] Add support for vCPU and I/O thread scheduler setting

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

 



Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1178986

v2:
 - No dependency on sched.h unless really needed
 - Docs fixed according to John
 - RNG schema matches parsing
 - Possibility to specify one element for whole mask of vcpus/iothreads
 - leaks fixed (VIR_FREE(nodes);) O:-)
 - not accepting "other" as a scheduler when parsing
 - Rebased, of course

Martin Kletzander (3):
  util: Add virProcessSetScheduler() function for scheduler settings
  docs, schema, conf: Add support for setting scheduler parameters of
    guest threads
  qemu: Add support for setting vCPU and I/O thread scheduler setting

 configure.ac                                       |   4 +-
 docs/formatdomain.html.in                          |  16 ++
 docs/schemas/domaincommon.rng                      |  44 +++++
 src/conf/domain_conf.c                             | 183 ++++++++++++++++++++-
 src/conf/domain_conf.h                             |  24 +++
 src/libvirt_private.syms                           |   1 +
 src/qemu/qemu_driver.c                             |   5 +
 src/qemu/qemu_process.c                            |  57 ++++++-
 src/qemu/qemu_process.h                            |   5 +-
 src/util/virprocess.c                              | 104 +++++++++++-
 src/util/virprocess.h                              |  20 ++-
 .../qemuxml2argv-cputune-iothreadsched-toomuch.xml |  38 +++++
 .../qemuxml2argv-cputune-iothreadsched.xml         |  39 +++++
 .../qemuxml2argv-cputune-vcpusched-overlap.xml     |  38 +++++
 tests/qemuxml2argvtest.c                           |   2 +
 .../qemuxml2xmlout-cputune-iothreadsched.xml       |  39 +++++
 tests/qemuxml2xmltest.c                            |   1 +
 17 files changed, 612 insertions(+), 8 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreadsched-toomuch.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cputune-iothreadsched.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cputune-vcpusched-overlap.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreadsched.xml

--
2.3.0

--
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]