Qemu on MacOS Host - rather slow performance in Haiku Guest

Hi all, I’ve been a long past BeOS user and have also been involved in the early BeGeistert Meetups, those where fun!

Anyhow, I’m pondering and tinkering a bit with Haiku recently and am currently running it on MacOS via

qemu-system-x86_64 -hda haiku.qcow2 -cdrom /Users/fabian/Downloads/haiku-r1beta2-x86_64-anyboot/haiku-r1beta2-hrev54154_111-x86_64-anyboot.iso -m 4G -vga virtio -display cocoa,show-cursor=on -usb -device usb-tablet -cpu max -machine accel=hvf -smp 8,cores=2,threads=2 -net nic,model=virtio -net user,hostfwd=tcp::10022-:22

Those parameters are a mere attempt to get it working somewhat well, mostly copy and pasted together from stuff I found online.

My Host is

  • MacOS 11.2,
  • 6 core Intel Core i7-9750H, Coffee Lake
  • AMD Radeon Pro 5500M 8 GB
  • Intel UHD Graphics 630 1536 MB

Haiku inside of it runs rather slow, everything is kinda laggy and feels def. slower than BeOS R5 on a Pentium II :confused:
Is anyone aware of a way to make Haiku as Guest on a MacOS Host via Qemu more performant?
And is there a possibility to get the Intel-GPU working? I know that AMD won’t work.

Thanks, Fabian

1 Like

I also run Haiku virtually on a macbook pro: MacOSX 11.2.3 (Big Sur), but I use VirtualBox and it’s quite fast - I haven’t had time to deal with display resolutions stuff: (see: VirtualBox + VMSVGA driver (vmware). Need test).

But I would love to hear if qemu is a better option than VirtualBox if you figure things out.

Have you tried changing the hypervisor? The default is really slow (tcg), but you can change to hvf (Apples Hypervisor framework). Or if you are brave enough try haxm (from Intel)

VMWare Fusion Player on Mac is free now. Its probably you best option after Parallel if you want speed.

It does seem that Qemu, at least on Mac (I can def. not evaluate on another host) is not the best option. I’m already using the hvf hypervisor.
Will give VMWare Fusion Player a spin as that would also make most sense for the other VMs that I can switch from Parallels.

@konrad Thanks for the tip for VMWare Fusion Player free version on Mac!

Do you have updated instructions / guides for setting up and running a Haiku as guest OS on VMWare Fusion Player?