RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 977781 - mulit-queues virtio-net w/o 'id' by boot option, qemu should give only one id for the queues.
Summary: mulit-queues virtio-net w/o 'id' by boot option, qemu should give only one id...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 10:20 UTC by Qian Guo
Modified: 2016-07-01 03:27 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-01 03:27:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qian Guo 2013-06-25 10:20:41 UTC
Description of problem:
Talked w/ jason, If boot a guest w/ multi-queues nic, and not assign a id to this virtio-net device, qemu-kvm should assign only one id to it, so file this bug to track this issue.

Version-Release number of selected component (if applicable):
# rpm -q qemu-kvm
qemu-kvm-1.5.0-2.el7.x86_64
# uname -r
3.10.0-0.rc6.62.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Boot guest w/ multi-queues nic, and do not assign id to it.
/usr/libexec/qemu-kvm -cpu Penryn -enable-kvm -m 2048 -smp 4.sockets=1,cores=4,threads=1 -name rhel6u3c2 -drive file=/home/rhel7/rhel7.qcow2,if=none,id=drive-scsi0-disk0,format=qcow2,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=0x4 -device scsi-hd,scsi-id=0,lun=0,bus=scsi0.0,drive=drive-scsi0-disk0,id=virtio-disk0 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup,queues=4 -device virtio-net-pci,mq=on,vectors=9,netdev=hostnet0,mac=54:52:1b:35:3c:18 -device virtio-balloon-pci,id=balloon0 -vnc :10 -vga std -boot menu=on -monitor stdio
2.under hmp, check the id that assigned by qemu-kvm.
(qemu) info network
virtio-net-pci.0: index=0,type=nic,model=virtio-net-pci,macaddr=54:52:1b:35:3c:18
 \ hostnet0: index=0,type=tap,ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
virtio-net-pci.1: index=1,type=nic,
 \ hostnet0: index=1,type=tap,ifname=tap0,script=no,downscript=no
virtio-net-pci.2: index=2,type=nic,
 \ hostnet0: index=2,type=tap,ifname=tap0,script=no,downscript=no
virtio-net-pci.3: index=3,type=nic,
 \ hostnet0: index=3,type=tap,ifname=tap0,script=no,downscript=no


Actual results:
The ids of the queues are not same.
Expected results:
all the ids should be same one.

Additional info:
Test that boot gest and assign id to the nic, under hmp:
(qemu) info network
test: index=0,type=nic,model=virtio-net-pci,macaddr=54:52:1b:35:3c:18
 \ hostnet0: index=0,type=tap,ifname=tap0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
test: index=1,type=nic,
 \ hostnet0: index=1,type=tap,ifname=tap0,script=no,downscript=no
test: index=2,type=nic,
 \ hostnet0: index=2,type=tap,ifname=tap0,script=no,downscript=no
test: index=3,type=nic,
 \ hostnet0: index=3,type=tap,ifname=tap0,script=no,downscript=no

Comment 2 Ronen Hod 2013-11-04 07:22:06 UTC
Not very important. Libvirt (when used) assigns the IDs consistently.
Deferring to 7.1.

Comment 5 jason wang 2015-08-10 05:35:05 UTC
Low priority, postpone to 7.3.


Note You need to log in before you can comment on or make changes to this bug.