PCI pass-through does not work

Allan Jude allanjude at freebsd.org
Sun Nov 6 04:27:22 UTC 2016


On 2016-11-06 00:19, Rajil Saraswat wrote:
> Hello,
> 
> Following the docs (https://wiki.freebsd.org/bhyve/pci_passthru), i
> specified pptdevs="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.
> 
> Do i need to disable the ixgbe driver in the kernel?
> 
> Here is the pciconf -v -l output
> 
> ix0 at pci0:3:0:0: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
> hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Ethernet Controller 10-Gigabit X540-AT2'
>     class      = network
>     subclass   = ethernet
> ix1 at pci0:3:0:1: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
> hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = 'Ethernet Controller 10-Gigabit X540-AT2'
>     class      = network
>     subclass   = ethernet
> 
> Thanks,
> 
> Rajil
> 
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
> 

Does your loader.conf also have: vmm_load="YES" to load bhyve? otherwise
the pptdevs= line is never used.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20161106/f7c3f919/attachment.sig>


More information about the freebsd-virtualization mailing list