From owner-freebsd-virtualization@freebsd.org Sun Nov 6 04:27:22 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7CACC326EA for ; Sun, 6 Nov 2016 04:27:22 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95B501E79 for ; Sun, 6 Nov 2016 04:27:22 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 0AB88B67B for ; Sun, 6 Nov 2016 04:27:15 +0000 (UTC) Subject: Re: PCI pass-through does not work To: freebsd-virtualization@freebsd.org References: From: Allan Jude Message-ID: <53c43b01-a730-0764-1595-8a0078324a39@freebsd.org> Date: Sun, 6 Nov 2016 00:27:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AvP9xNtWPnL4gM94x4O18Xo09RnCjxnr5" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 04:27:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --AvP9xNtWPnL4gM94x4O18Xo09RnCjxnr5 Content-Type: multipart/mixed; boundary="PWGc7NS4oH3N33tNKl0H2I8aShtppWMG3"; protected-headers="v1" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: <53c43b01-a730-0764-1595-8a0078324a39@freebsd.org> Subject: Re: PCI pass-through does not work References: In-Reply-To: --PWGc7NS4oH3N33tNKl0H2I8aShtppWMG3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-11-06 00:19, Rajil Saraswat wrote: > Hello, >=20 > Following the docs (https://wiki.freebsd.org/bhyve/pci_passthru), i > specified pptdevs=3D"3/0/0 3/0/1" in loader.conf for my onboard intel > NICs. However, the ixgbe driver still picked up the devices and they > appeared in the ifconfig output. >=20 > Do i need to disable the ixgbe driver in the kernel? >=20 > Here is the pciconf -v -l output >=20 > ix0@pci0:3:0:0: class=3D0x020000 card=3D0x152815d9 chip=3D0x15288086 re= v=3D0x01 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Controller 10-Gigabit X540-AT2' > class =3D network > subclass =3D ethernet > ix1@pci0:3:0:1: class=3D0x020000 card=3D0x152815d9 chip=3D0x15288086 re= v=3D0x01 > hdr=3D0x00 > vendor =3D 'Intel Corporation' > device =3D 'Ethernet Controller 10-Gigabit X540-AT2' > class =3D network > subclass =3D ethernet >=20 > Thanks, >=20 > Rajil >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 Does your loader.conf also have: vmm_load=3D"YES" to load bhyve? otherwis= e the pptdevs=3D line is never used. --=20 Allan Jude --PWGc7NS4oH3N33tNKl0H2I8aShtppWMG3-- --AvP9xNtWPnL4gM94x4O18Xo09RnCjxnr5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYHrEiAAoJEBmVNT4SmAt+McQQAMqgIl6dvjaSiudohfwZdcVX dyLfea1xuTKjPVAgqiyNWWuSX3X+hMXo3MAeLqb1z2iwEtyPCH7QCOgls3P1ZS4y LSitvTM4I6T9yheL3zf0trxsN+YB+dwT4VsXJP37WCe6nWHYkqCF4Movcghqbyps igE0OaT9S/vonjaqOX6doQziYJty0/FSIEoYfXt3bVT5XEoTobePlfuxy7R8rdEn KCkUabyXH3lNXy8tfjVI+SfrLxACB6nPoK3UTdmKnGGQTrPPZE4KKqo65rSbCjP8 j2Xu2vPewLdSuSS00zBFDWMAfpCFdmptEYZcSVw1l/jaooVT8RoM+rH3O7fuTbFz Y4Dgh4om8j3piesi4RiqedDJfjew37TPvnG56cDYa3DVelSsFovcfB1uayEo3wks Ffil/tzBzTyt+3s+pxK4oaU7buia4WvMJfdgIRfE3cwH3HzvfgTBX01SKC92h4wg MPjVQjqGnGL62zGar5O0zYRv6U3PsKCJ/cnkEg/Z81+8So6RT+lrT9sg3Y6nTTeH frdWocgCdbHfzm0NEMcreyDDC4I8XakahRqngtwTYuFrNSeP7a4lKPPnqR3gYKbW 1XsQKKnv2TdkhgHpfWv6S7pEizn5ZeHJXINyk8MHdijuuNT5PA3/ShV5+071/mKy 0Gu3yucCwTYU97NyWRTF =R4o2 -----END PGP SIGNATURE----- --AvP9xNtWPnL4gM94x4O18Xo09RnCjxnr5--