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

[libvirt] [PATCH v2 0/4] Introduce support for virtio-blk-pci iothreads



v1:
http://www.redhat.com/archives/libvir-list/2014-August/msg01155.html

Changes since v1

Patches 1-3 - purely from code review
Patch 4 - rework the checking of the to be added disk that has the iothread
     property set to be done during qemuBuildDriveDevStr() after the config
     check. This way the same checks are done for both start and hotplug.

     Only set the "inuse" bit after qemuBuildDriveDevStr() returns successfully
     for both start and hotplug. This also enforces only setting for this path

     Since the only way a disk with the property can be added is if the current
     emulator supports the feature, the calls to set/clear the bit if iothread
     is set should be safe from not needing to also ensure iothreadmap exists.

John Ferlan (4):
  domain_conf: Introduce iothreads XML
  qemu: Add support for iothreads
  domain_conf: Add support for iothreads in disk definition
  qemu: Allow use of iothreads for disk definitions

 docs/formatdomain.html.in                          | 34 ++++++++++++
 docs/schemas/domaincommon.rng                      | 14 +++++
 src/conf/domain_conf.c                             | 47 +++++++++++++++-
 src/conf/domain_conf.h                             |  4 ++
 src/qemu/qemu_capabilities.c                       |  2 +
 src/qemu/qemu_capabilities.h                       |  1 +
 src/qemu/qemu_command.c                            | 64 ++++++++++++++++++++++
 src/qemu/qemu_hotplug.c                            |  6 ++
 .../qemuxml2argv-iothreads-disk.args               | 17 ++++++
 .../qemuxml2argv-iothreads-disk.xml                | 40 ++++++++++++++
 tests/qemuxml2argvdata/qemuxml2argv-iothreads.args |  8 +++
 tests/qemuxml2argvdata/qemuxml2argv-iothreads.xml  | 29 ++++++++++
 tests/qemuxml2argvtest.c                           |  4 ++
 tests/qemuxml2xmltest.c                            |  2 +
 14 files changed, 271 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-disk.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads-disk.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads.xml

-- 
1.9.3


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