qemu FreeBSD13 won't boot in qemu-kvm host


Active Member

Reaction score: 105
Messages: 229

So after solving this UEFI issue Thread 515110 I'd like to move over to qemu-kvm on the Linux host. I have qemu-kvm working properly and OVMF installed and enabled to support UEFI.

The FreeBSD13 iso boots fine and installs. But then booting the guest freezes. It happens while registering the internal USB hub (I'm testing on a laptop), but I don't know if that's specifically what's causing the freeze.

Any thoughts on what to look for?


Aspiring Daemon

Reaction score: 226
Messages: 667

Without offend you, qemu-kvm+Linux is a recipe for disaster
I tell you for personal experience,Linux take control over until the point that is imposible
respond to "why everything is slow?" "why my vm takes 1 hour to start?"
and debug today a Linux machine is a pain in the ass

my advice, use FreeBSD , use only one or 2 cpu to the VM and give low priority with idprio or rtprio
for give resources to the server
you got Bhyve or Virtualbox , both are easy to setup and mantain



Reaction score: 261
Messages: 1,041

I don't have any physical Linux I can test it on right now. I've osx, I tried it there. I can't test kvm part which may be an interesting part.
I was able to install and run the FreeBSD guest. My run command:
qemu-system-x86_64 -m 1024 -bios OVMF-pure-efi.fd -serial stdio \
    -device virtio-blk-pci,drive=hd0 -drive if=none,id=hd0,format=qcow2,file=disk00.qcow2  \
    -device virtio-net-pci,netdev=net0 \
    -netdev user,id=net0,hostfwd=tcp::60100-:22,ipv6=off