[libvirt] [PATCH v2 2/4] qemu: Add support for iothreads

Martin Kletzander mkletzan at redhat.com
Wed Aug 27 06:19:32 UTC 2014


On Tue, Aug 26, 2014 at 06:15:47PM -0400, John Ferlan wrote:
>Add a new capability to ensure the iothreads feature exists for the qemu
>emulator being run - requires the "query-iothreads" QMP command. Using the
>domain XML add correspoding command argument in order to generate the
>threads. The iothreads will use a name space "iothread#" where, the
>future patch to add support for using an iothread to a disk definition to
>merely define which of the available threads to use.
>
>Add tests to ensure the xml/argv processing is correct.  Note that no
>change was made to qemuargv2xmltest.c as processing the -object element
>would require knowing more than just iothreads.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> src/qemu/qemu_capabilities.c                       |  2 ++
> src/qemu/qemu_capabilities.h                       |  1 +
> src/qemu/qemu_command.c                            | 13 ++++++++++
> tests/qemuxml2argvdata/qemuxml2argv-iothreads.args |  8 ++++++
> tests/qemuxml2argvdata/qemuxml2argv-iothreads.xml  | 29 ++++++++++++++++++++++
> tests/qemuxml2argvtest.c                           |  2 ++
> tests/qemuxml2xmltest.c                            |  1 +
> 7 files changed, 56 insertions(+)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-iothreads.xml
>

ACK,

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140827/cdbe02d1/attachment-0001.sig>


More information about the libvir-list mailing list