]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Add support for iothreads
authorJohn Ferlan <jferlan@redhat.com>
Fri, 22 Aug 2014 22:15:30 +0000 (18:15 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 28 Aug 2014 20:27:53 +0000 (16:27 -0400)
commit72edaae78fb06edb496229d61e48d99ffc4b8c7a
tree6e28438c9bfb56e9cc4cb7d0fded7b5be8cc8c3c
parentee3a9620daf3dd395e4e0aed44039c5b9590efa2
qemu: Add support for iothreads

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.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-iothreads.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-iothreads.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c