Skip to content

Instantly share code, notes, and snippets.

@Joursoir
Created May 12, 2022 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Joursoir/7172f705304f370447766a50cf764b78 to your computer and use it in GitHub Desktop.
Save Joursoir/7172f705304f370447766a50cf764b78 to your computer and use it in GitHub Desktop.
start-qemu.sh
#!/usr/bin/env bash
qemu-system-x86_64 \
-drive if=pflash,format=raw,readonly=off,file=OVMF.fd \
-drive format=raw,file=fat:rw:hd \
-net none \
-global isa-debugcon.iobase=0x402 \
-debugcon file:debug.log`` &
tail -f debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment