ref: 2f5c35d159876ab702d037c7ec3785cffb51fe5a
dir: /OVMF.md/
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 \
....
```