[libvirt] [PATCH 00/13] iothread code cleanup

Pavel Hrdina phrdina at redhat.com
Fri Feb 17 14:49:04 UTC 2017


This is a preparation for implementation of recently added iothread
polling feature into QEMU.

Pavel Hrdina (13):
  conf: fix indentation
  conf: remove redundant iothreads variable
  conf: move iothread parse code into its own function
  conf: store iothreads in order by iothread_id
  conf: always display iothread ids in the XML
  qemu_driver: check invalid iothread_id before we do anything else
  qemu_process: move capabilities check for iothreads
  qemu_process: remove unnecessary iothread check
  conf: move iothread XML validation from qemu_command
  qemu_driver: always check whether iothread is used by disk or not
  qemu_driver: move iothread existence check into one place
  qemu_driver: check whether iothread is used by controller
  qemu_driver: move iothread duplicate check into one place

 src/conf/domain_conf.c                             | 260 ++++++++++++++-------
 src/conf/domain_conf.h                             |   2 -
 src/qemu/qemu_command.c                            | 121 +---------
 src/qemu/qemu_driver.c                             | 131 ++++++-----
 src/qemu/qemu_process.c                            |  61 ++---
 .../qemuxml2argv-iothreads-ids-partial.args        |   4 +-
 .../qemuxml2xmlout-cputune-iothreads.xml           |   4 +
 ...l2xmlout-cputune-iothreadsched-zeropriority.xml |   6 +
 .../qemuxml2xmlout-cputune-iothreadsched.xml       |   6 +
 .../qemuxml2xmlout-cputune-numatune.xml            |   4 +
 .../qemuxml2xmlout-iothreads-disk-virtio-ccw.xml   |   4 +
 .../qemuxml2xmlout-iothreads-disk.xml              |   4 +
 .../qemuxml2xmlout-iothreads-ids-partial.xml       |   2 +
 .../qemuxml2xmlout-iothreads-virtio-scsi-ccw.xml   |   4 +
 .../qemuxml2xmlout-iothreads-virtio-scsi-pci.xml   |   4 +
 .../qemuxml2xmlout-iothreads.xml                   |   4 +
 .../qemuxml2xmlout-vcpu-placement-static.xml       |   4 +
 17 files changed, 334 insertions(+), 291 deletions(-)

-- 
2.11.1




More information about the libvir-list mailing list