Bug 1066209
Summary: | Libvirt should calculate and pass vectors parameter to qemu command line for multiqueue virtio device | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | jason wang <jasowang> | |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.0 | CC: | acathrow, bili, chhu, dyuan, honzhang, juzhang, lcui, mprivozn, mzhan, narendra_k, zhwang | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-1.1.1-24.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1071888 (view as bug list) | Environment: | ||
Last Closed: | 2014-06-13 09:19:11 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1071888 |
Description
jason wang
2014-02-18 03:09:06 UTC
Moving to POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2014-February/msg00467.html Moreover, I've build a scratch build to test: https://brewweb.devel.redhat.com/taskinfo?taskID=7073866 Reproduced the bug with #rpm -qa libvirt libvirt-1.1.1-23.el7.x86_64 1. Add the following config in domain xml. <interface type='network'> <mac address='52:54:00:92:d5:ba'/> <source network='default'/> <target dev='vnet2'/> <model type='virtio'/> <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </interface> 2.Start the guest and check the qemu command, vectors=2N+1 is not added. #ps aux | grep qemu | grep virtio-net Test the bug with scratch build: #rpm -qa libvirt libvirt-1.1.1-23.el7multiqueue.x86_64 1. Add the following config in domain xml. <interface type='network'> <mac address='52:54:00:92:d5:ba'/> <source network='default'/> <target dev='vnet2'/> <model type='virtio'/> <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </interface> 2.Start the guest and check the qemu command, vectors=2N+1 is added. #ps aux | grep qemu | grep virtio-net ...-device virtio-net-pci,tx=bh,ioeventfd=on,event_idx=off,mq=on,vectors=11,netdev=hostnet1,id=net1,mac=52:54:00:92:d5:ba,bus=pci.0,addr=0x6 ... Verified pass on libvirt-1.1.1-24.el7, steps as comment #3. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |