[PATCH 00/12] implements iothread polling feature into libvirt

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

 



Pavel Hrdina (12):
  conf: introduce domain XML element <polling> for iothread
  lib: introduce an API to add new iothread with parameters
  lib: introduce an API to modify parameters of existing iothread
  virsh: extend iothreadadd to support virDomainAddIOThreadParams
  virsh: introduce command iothreadmod that uses
    virDomainModIOThreadParams
  qemu_capabilities: detect whether iothread polling is supported
  util: properly handle NULL props in
    virQEMUBuildObjectCommandlineFromJSON
  qemu_monitor: extend qemuMonitorGetIOThreads to fetch polling data
  qemu: implement iothread polling
  qemu: implement virDomainAddIOThreadParams API
  qemu: implement virDomainModIOThreadParams API
  news: add entry for for iothread polling feature

 docs/formatdomain.html.in                          |  19 +-
 docs/news.xml                                      |   9 +
 docs/schemas/domaincommon.rng                      |  24 ++
 include/libvirt/libvirt-domain.h                   |  44 ++++
 src/conf/domain_conf.c                             | 199 +++++++++++++-
 src/conf/domain_conf.h                             |  18 +-
 src/driver-hypervisor.h                            |  16 ++
 src/libvirt-domain.c                               | 140 ++++++++++
 src/libvirt_private.syms                           |   2 +
 src/libvirt_public.syms                            |   6 +
 src/qemu/qemu_capabilities.c                       |   2 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_command.c                            |  78 +++++-
 src/qemu/qemu_command.h                            |   5 +-
 src/qemu/qemu_domain.c                             |  23 +-
 src/qemu/qemu_domain.h                             |   6 +
 src/qemu/qemu_driver.c                             | 292 ++++++++++++++++++---
 src/qemu/qemu_monitor.c                            |  25 +-
 src/qemu/qemu_monitor.h                            |   9 +-
 src/qemu/qemu_monitor_json.c                       |  51 +++-
 src/qemu/qemu_monitor_json.h                       |   7 +-
 src/qemu/qemu_process.c                            |  14 +-
 src/remote/remote_driver.c                         |   2 +
 src/remote/remote_protocol.x                       |  34 ++-
 src/remote_protocol-structs                        |  20 ++
 src/util/virqemu.c                                 |   3 +-
 .../generic-iothreads-no-polling.xml               |  22 ++
 .../generic-iothreads-polling-disabled.xml         |  24 ++
 .../generic-iothreads-polling-enabled-fail.xml     |  24 ++
 .../generic-iothreads-polling-enabled.xml          |  24 ++
 tests/genericxml2xmltest.c                         |   6 +
 .../qemucapabilitiesdata/caps_2.9.0.x86_64.replies |  12 +
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |   1 +
 tests/qemumonitorjsontest.c                        |   2 +-
 .../qemuxml2argv-iothreads-polling-disabled.args   |  23 ++
 .../qemuxml2argv-iothreads-polling-disabled.xml    |  36 +++
 .../qemuxml2argv-iothreads-polling-enabled.args    |  23 ++
 .../qemuxml2argv-iothreads-polling-enabled.xml     |  36 +++
 ...emuxml2argv-iothreads-polling-not-supported.xml |   1 +
 tests/qemuxml2argvtest.c                           |   8 +
 tests/testutils.c                                  |   3 +-
 tools/virsh-domain.c                               | 188 ++++++++++++-
 tools/virsh.pod                                    |  18 ++
 43 files changed, 1442 insertions(+), 58 deletions(-)
 create mode 100644 tests/genericxml2xmlindata/generic-iothreads-no-polling.xml
 create mode 100644 tests/genericxml2xmlindata/generic-iothreads-polling-disabled.xml
 create mode 100644 tests/genericxml2xmlindata/generic-iothreads-polling-enabled-fail.xml
 create mode 100644 tests/genericxml2xmlindata/generic-iothreads-polling-enabled.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-polling-disabled.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-polling-disabled.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-polling-enabled.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-polling-enabled.xml
 create mode 120000 tests/qemuxml2argvdata/qemuxml2argv-iothreads-polling-not-supported.xml

-- 
2.11.1

--
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]
  Powered by Linux