Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2017 02:40:18 -0400
From:      Farhan Khan <khanzf@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   bhyve passthrough fails
Message-ID:  <CAFd4kYA0CfACyGmtXhcG_vPiiW65rXgUedhKRWW8vU8sxOdVrw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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@pci0:2:0:0: class=0x028000 card=0x197d103c chip=0x817910ec rev=0x01
hdr=0x00
    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 vmrun.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFd4kYA0CfACyGmtXhcG_vPiiW65rXgUedhKRWW8vU8sxOdVrw>