bhyve Windows doesn't boot with PCI passthru

Windows loads normally without -s 7,passthru,0/20/0, but with it Windows 8.1 stuck on bootlogo, and Windows 10 shows me bsod with MEMORY_MANAGEMENT error.
My bhyve script
Code:
#!/bin/sh
bhyve -c sockets=1,cores=4,threads=1 -m 4G -w -H -S \
-s 0,hostbridge \
-s 4,ahci-hd,win10.img \
-s 5,virtio-net,tap0 \
-s 7,passthru,0/20/0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1600,h=900,wait \
-s 30,xhci,tablet \
-s 31,lpc -l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
win10
/boot/loader.conf
Code:
pptdevs="0/20/0"
FreeBSD 14.5
 
Back
Top