Skip to content

Instantly share code, notes, and snippets.

@tqh
Created August 24, 2023 18:21
Show Gist options
  • Save tqh/18ad3b54c0c1dd189c5c90cd8079d842 to your computer and use it in GitHub Desktop.
Save tqh/18ad3b54c0c1dd189c5c90cd8079d842 to your computer and use it in GitHub Desktop.
QEMU Haiku boot
qemu-system-x86_64 -cpu host -machine q35 -monitor stdio \
-m 4G -enable-kvm -nodefaults -smp 2,cores=2 \
-device virtio-vga,xres=1920,yres=1080,edid=on \
-display gtk,grab-on-hover=on,zoom-to-fit=off \
-netdev user,id=n1 -device virtio-net-pci,netdev=n1 \
-usb -device usb-kbd -device usb-tablet \
-debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
-drive if=pflash,format=raw,unit=0,readonly=on,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd \
-drive file=haiku-nightly-anyboot.iso,media=cdrom,aio=native,cache.direct=on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment