bhyve passthrough fails

Farhan Khan khanzf at
Thu Sep 7 06:40:40 UTC 2017


I am trying to pass an mPCIe device to a guest bhyve VM. I have the device
set to use the ppt driver:

# devctl set driver pci0:2:0:0 ppt

pciconf -lv gives me the following output:

ppt0 at pci0:2:0:0: class=0x028000 card=0x197d103c chip=0x817910ec rev=0x01
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8188EE Wireless Network Adapter'
    class      = networ

But when I start a FreeBSD guest with the vmrun script (sudo sh -p
2/0/0 -c 2 -m 512M -t tap0 -d freebsd12.img freebsd1), I immediately get
this error:

bhyve: PCI device at 2/0/0 is not using the ppt(4) driver.

I have virtualization set in the BIOS and am not certain what may be
causing this issue. Any ideas?

Thank you,

Farhan Khan
PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA

More information about the freebsd-virtualization mailing list