QEMU add option to boot using UEFI

This commit is contained in:
2026-03-26 20:45:58 +01:00
parent 032c5f71bd
commit 3115522f27
3 changed files with 5 additions and 0 deletions

BIN
OVMF/OVMF_CODE.fd Normal file

Binary file not shown.

BIN
OVMF/OVMF_VARS.fd Normal file

Binary file not shown.

View File

@@ -26,6 +26,11 @@ while [[ $# -gt 0 ]]; do
QEMU_EXTRA+=" -s -S "
shift
;;
--uefi)
QEMU_EXTRA+=" -drive if=pflash,format=raw,readonly=on,file=./OVMF/OVMF_CODE.fd \
-drive if=pflash,format=raw,file=./OVMF/OVMF_VARS.fd "
shift
;;
*)
POSITIONAL_ARGS+=("$1")
shift