shithub: wiki.9front.org

Download patch

ref: 2f5c35d159876ab702d037c7ec3785cffb51fe5a
parent: df631c81335de40d0917970a19589a818deb3b57
author: grobe0ba <grobe0ba@tcp80.org>
date: Tue Dec 5 15:46:30 EST 2023

qemu+ovmf: add a magic invocation that probably works

--- /dev/null
+++ b/OVMF.md
@@ -1,0 +1,20 @@
+QEMU and OVMF
+=============
+
+# UEFI considered #harmful
+
+Just don't use UEFI. It's terrible. It's entirely non-standardized. BIOS boot
+is exactly the same everywhere, and just works.
+
+# But I Like UEFI
+
+Fine.
+
+```
+qemu-system-x86_64 \
+    -enable-kvm \
+    -M q35,accel=kvm \
+    -drive file=OVMF.fd,format=raw,if=pflash,unit=0 \
+    -drive file=OVMF_VARS_4M.fd,format=raw,if=pflash,unit=1 \
+    ....
+```