]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add multiqueue vhost-user support
authorMaxime Leroy <maxime.leroy@6wind.com>
Thu, 26 Feb 2015 11:45:57 +0000 (12:45 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 11 Jun 2015 12:28:29 +0000 (14:28 +0200)
commit366c22f2bcf1ddb8253c123f93fd18d1ba9eacd6
tree880362b957da0d720ae4e610f97e93ce693e508b
parent7971723b985b9adc27122a3503e7ab38ced2b57f
qemu: add multiqueue vhost-user support

This patch adds the support of queues attribute of the driver element
for vhost-user interface type. Example:

<interface type='vhostuser'>
      <mac address='52:54:00:ee:96:6d'/>
      <source type='unix' path='/tmp/vhost2.sock' mode='client'/>
      <model type='virtio'/>
      <driver queues='4'/>
</interface>

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207692

Signed-off-by: Maxime Leroy <maxime.leroy@6wind.com>
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
docs/formatdomain.html.in
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser-multiq.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-net-vhostuser-multiq.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c