Hello,
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:
cat /boot/loader.conf:
the commandline for starting bhyve:
any ideas, thanks
richard
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:
Code:
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@main2rest2.bader.loc:/usr/obj/usr/src/sys/MYKERNEL amd64
cat /boot/loader.conf:
Code:
vmm_load="YES"
pptdevs="5/1/0"
hw.vmm.topology.threads_per_core=2
hw.vmm.topology.cores_per_package=4
Code:
pciconf -v -l:
ppt0@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:
Code:
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=192.168.16.109:5905,w=1024,h=800\
-s 31,lpc -l com1,stdio\
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 06win7bac4
any ideas, thanks
richard