PCI pass-through does not work

Rajil Saraswat rajil.s at gmail.com
Sun Nov 6 15:37:11 UTC 2016



On 11/06/2016 12:15 AM, Allan Jude wrote:
>
> Yeah, for passthru to work, you have to load the vmm @ loader time,
> rather than on first use of bhyve.
>
> Adding:
> vmm_load="YES"
>
> to /boot/loader.conf above the pptdevs= line, should solve your problem
>
Even after specifying this, ixgbe driver is still taking over.
# cat /boot/loader.conf
net.fibs=6
net.add_addr_allfibs=0
ipfw_load="YES"
net.inet.ip.fw.default_to_accept=1
geom_eli_load="YES"
coretemp_load="YES"
aesni_load="YES"
geom_eli_load="YES"
zfs_load="YES"
vfs.zfs.min_auto_ashift=12
mlx4_load="YES"
mlxen_load="YES"
vmm_load="YES
pptdevs="3/0/0 3/0/1"

# pciconf -l -v |grep ix
ix0 at pci0:3:0:0: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
hdr=0x00
ix1 at pci0:3:0:1: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
hdr=0x00



More information about the freebsd-virtualization mailing list