QEMU add option to boot using UEFI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user