]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow use of iothreads for disk definitions
authorJohn Ferlan <jferlan@redhat.com>
Mon, 25 Aug 2014 19:59:32 +0000 (15:59 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 28 Aug 2014 20:27:54 +0000 (16:27 -0400)
commitef8da2ad11827109bd255dd060a14d89286af2a9
tree8a4ab84966c2e69daf556dc64e3b4869c5278843
parente2523de554d8e7a14f7a617537b98fa898b602b9
qemu: Allow use of iothreads for disk definitions

For virtio-blk-pci disks with the disk iothread attribute that are
running the correct emulator, add the "iothread=iothread#" to the
-device command line in order to enable iothreads for the disk as
long as the command is available, the disk iothread value provided is
valid, and is supported for the disk device being added
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-iothreads-disk.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-iothreads-disk.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c