Run Haiku on linux using kvm/qemu

Here is also my full version I use for UEFI boot testing, but you will need to know UEFI Shell and have UEFI fw to boot this:

qemu-system-x86_64 -cpu host -machine q35 -monitor stdio \
	-m 512M -enable-kvm -nodefaults -smp 1,cores=1 \
	-vga virtio -display gtk,grab-on-hover=on,zoom-to-fit=off \
	-nic user,model=virtio-net-pci -usb -device usb-kbd -device usb-tablet \
	-serial file:debug.log -global isa-debugcon.iobase=0x402 \
	-drive if=pflash,format=raw,unit=0,readonly,file=OVMF_CODE.fd \
	-drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd

-usb -device usb-kbd is very useful if you have problem with correct keyboard mapping like I do (Swedish keys)