]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainAttachNetDevice: pass mq and vectors for vhost-user with multiqueue
authorgaohaifeng <gaohaifeng.gao@huawei.com>
Thu, 1 Dec 2016 06:01:18 +0000 (14:01 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 1 Dec 2016 14:02:35 +0000 (15:02 +0100)
commitf81b33b50c6cad384d32067c8e28f404f54a530d
tree03ce7bdbef4f8b728cf3ec66fd5bd82629a1b107
parentd7b97e21a7cd2c1c7a4e6252780f2eb89be8faed
qemuDomainAttachNetDevice: pass mq and vectors for vhost-user with multiqueue

Two reasons:
1.in none hotplug, we will pass it. We can see from libvirt function
qemuBuildVhostuserCommandLine
2.qemu will use this vetcor num to init msix table. If we don't pass, qemu
will use default value, this will cause VM can only use default value
interrupts at most.

Signed-off-by: gaohaifeng <gaohaifeng.gao@huawei.com>
src/qemu/qemu_hotplug.c