bhyve: pci_passthru not working: PCI device at 5/1/0 is not using the ppt(4) driver

richard richard at
Tue Jul 2 09:35:14 UTC 2019


i'm trying to use pci_passthru to handover a USB interface to windows7 
running under bhyve.

window7 is running perfect under bhyve.

As this does not work i tried to pass a simple network adapter, but the 
error message is the same when starting bhyve:

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

here the details:

uname -a:

FreeBSD main2rest2.bader.loc 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 
#1 r349319: Mon Jun 24 06:27:24 CEST 2019 
root at main2rest2.bader.loc:/usr/obj/usr/src/sys/MYKERNEL  amd64

cat /boot/loader.conf:


pciconf -v -l:

ppt0 at pci0:5:1:0:        class=0x020000 card=0x813910ec chip=0x813910ec 
rev=0x10 hdr=0x00
     vendor     = 'Realtek Semiconductor Co., Ltd.'
     device     = 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter'
     class      = network
     subclass   = ethernet

the commandline for starting bhyve:

bhyve -S -c 7 -m 5G -w -H \
    -s 0,hostbridge\
    -s 3,ahci-cd,./empty.iso\
    -s 4,ahci-hd,./06_win7bac4.img,sectorsize=512\
    -s 5,virtio-net,tap13\
    -s 7,passthru,5/1/0\
    -s 29,fbuf,tcp=,w=1024,h=800\
    -s 31,lpc -l com1,stdio\
    -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 06win7bac4

any ideas, thanks


More information about the freebsd-virtualization mailing list