Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Assignment of BCM5719 NIC to a guest VM failed when vt-d enabled and intel_iommu=on
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.enable vt-d in bios
2.pass intel_iommu=on to kernel
3.run virt-manager
4.add BCM5719 NIC to a guest
5.start guset OS,it will fail;
show:unsupported configuration: host doesn't support passthrough of host PCI devices
Actual results:
unsupported configuration: host doesn't support passthrough of host PCI devices
Expected results:
guest OS starts,and we will see the NIC
Additional info:
Hi :
Finally i got the infomation,see below:
[root@localhost ~]# libvirtd --version
libvirtd (libvirt) 1.2.17
[root@localhost ~]# virsh --version
1.2.17
[root@localhost ~]# qemu-img --help | grep version
qemu-img version 1.5.3, Copyright (c) 2004-2008 Fabrice Bellard
conversion. If the number of bytes is 0, the source will not be scanned for
[root@localhost ~]# /usr/libexec/qemu-kvm -version
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-105.el7), Copyright (c) 2003-2008 Fabrice Bellard
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@localhost ~]# cat /proc/version
Linux version 3.10.0-327.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# virt-host-validate
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking for device /dev/kvm : PASS
QEMU: Checking for device /dev/vhost-net : PASS
QEMU: Checking for device /dev/net/tun : PASS
LXC: Checking for Linux >= 2.6.26 : PASS
[root@localhost ~]#
Hi, I didn't realized that RHEL-7.2 doesn't have all the checks in virt-host-validate as upstream libvirt. Are you sure, that the IOMMU in bios is enabled and also the intel_iommu=on is on the command line?
Please check again, that the vt-d is enabled in bios and the intel_iommu=on is properly passed to the kernel. If everything works, you should be able to see several iommu groups inside /sys/kernel/iommu_groups/ directory.
I've tried it and everything works.
Hi:
After checking with our customer, Now they can assign BCM5719 NIC to VM now;
They said they have made some error settings in bios and kernel before;
thanks for helping;