VM passthrough on FreeBSD to run windows reddit / BSD ---------------------------------------------------------------------- ZeroViBrittania · 2019-02-20 15:19 Hello, I want to run a VM Passthrough on FreeBSD and run windows 10 on VM. Does anyone know how to do this? ---------------------------------------------------------------------- RaXXu5 · 2019-02-20 16:21 Qemu with virt manager? or is that not available on bsd? should support iommu I think if you cpu supports it. ---------------------------------------------------------------------- beowuff · 2019-02-20 16:52 Win10 runs fine in bhyve, but last I looked pci pass through wasn’t working yet. Maybe it is now? ---------------------------------------------------------------------- ZeroViBrittania · 2019-02-20 16:55 Bsd has qemu. I just dont know where to start or how to run it. ---------------------------------------------------------------------- Kernigh · 2019-02-20 18:57 I run qemu from a shell script, like #!/bin/sh cd "$(dirname "$0")" exec qemu-system-i386 -m 1024 \ -nic user,model=e1000,hostfwd=tcp:127.0.0.1:5426-:22 \ -usb -device usb-kbd -device usb-tablet \ -hda dai.qcow2 "$@" I don't know how to pass through devices from my OpenBSD host to qemu; it might not be possible in OpenBSD. I have no acceleration: qemu is emulating a processor, which is much slower than hardware virtualization. [FreeBSD's handbook has a chapter on Virtualization](https://www.freeb sd.org/doc/en_US.ISO8859-1/books/handbook/virtualization.html), which mentions VirtualBox, bhyve, and Xen. I don't know about them. ---------------------------------------------------------------------- useunix · 2019-03-08 09:59 As far as I know qemu alone won't give you hw passthrough, and generally speaking you are better off using bhyve these days. The KVM port was removed a few years ago as it was very old and hard to maintain. See here [KVM on FreeBSD](https://www.linux- kvm.org/page/BSD) . ​ Check the following handbook section for setting up [FreeBSD as Host with bhyve](https://www.freebsd.org/doc/handbook/virtualization-host- bhyve.html). ​ However, I still prefer using Xen and dom0 on [FreeBSD as hypervisor host](https://www.freebsd.org/doc/handbook/virtualization-host- xen.html).