bhyve Bhyve VM stuck when passthru enabled

I had the similar issues with usb passthru, but i my case it start working but randomly crashes the host FreeBSD machine during write access to the usb device. Nec USB controllers had most issues. After then I have decide to move towards qemu (qemu9 has some memory issues, so use qemu8). A bit slow, but acceptable on modern PCs for generic work.
Pros:
- redirecting even single usb device connected to any port is very easy and cause 0 issues.
- Implementation of VNC server is amazing
- in general way more polished then bhyve
Cons:
- I didn't manage to run hardware virtualization acceleration ( kvm, the port has no maintainer since 2016 afasik )
Hi, try https://github.com/churchers/vm-bhyve/wiki/Running-Windows setting topology maybe it will help you or you can go with windows 10 it should work fine
 
Are you sure about this? I tried running with cpu=1 and get the same behaviour (hang at boot).

(Trying to passthrough my wifi card.)
Did you have any luck with finding out how to fix this? I am having the exact same problem with my virtual machine. It worked the first time that I set it up too. I think it has to be something related to restarting the actual VM.
 
If you want RDPECAM support for freerdp3 at the moment you have to add the option to the port yourself.

Ah and sorry regarding wifi I use my phone with USB tethering as a router to Wifi networks.

What are you trying to passthrough?
 
I've always wondered why I never had this problem without using the patch.

"There's a race condition which is so far only triggered by Windows 11 when using PCI passthrough"

What this means ? What should I do to trigger the bug ? PCI passthrough what means ? What shoud I pass ?
 
Update: Pass-thru of a PCIe device to a Windows 11 guest with multiple vCPUs works for me with this patch: https://reviews.freebsd.org/D52781
Yes, it works!
win11_with_PCIe.png
 
Back
Top