Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 09:28:00 -0600
From:      Rajil Saraswat <rajil.s@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: PCI pass-through does not work
Message-ID:  <d42f72da-89f5-42ed-2a4e-eed3cdd71fc2@gmail.com>
In-Reply-To: <edbe57c0-27f0-99b3-3e7e-0e87fc311bc7@freebsd.org>
References:  <ad81872e-ab53-4ca6-35e4-496c78c61b31@gmail.com> <CAFMmRNz%2Bs%2BytyMuVgYN2OWrnPn-NimWXgTUA06=KivjGy6dzqQ@mail.gmail.com> <d0476eec-fb23-c492-76f9-d1085ab3c6af@gmail.com> <edbe57c0-27f0-99b3-3e7e-0e87fc311bc7@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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@pci0:3:0:0: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
hdr=0x00
ix1@pci0:3:0:1: class=0x020000 card=0x152815d9 chip=0x15288086 rev=0x01
hdr=0x00




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d42f72da-89f5-42ed-2a4e-eed3cdd71fc2>