From 9fb7db05678e2fa12a1a2e70dbd52ddb5ac6dc97 Mon Sep 17 00:00:00 2001 From: Tom Lendacky Date: Fri, 19 Aug 2022 15:57:04 -0500 Subject: Add the UEFI variables pflash file on qmeu command line --- launch-qemu.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/launch-qemu.sh b/launch-qemu.sh index eb25f71..f7540b4 100755 --- a/launch-qemu.sh +++ b/launch-qemu.sh @@ -188,6 +188,7 @@ add_opts "-no-reboot" # "normal" qemu drive on the host side, and it is exposed to the guest as a # persistent flash device. add_opts "-drive if=pflash,format=raw,unit=0,file=${UEFI_CODE},readonly" +add_opts "-drive if=pflash,format=raw,unit=1,file=${UEFI_VARS}" # add network support and fwd port 22 to 8000 # echo "guest port 22 is fwd to host 8000..." -- cgit v1.2.3-71-gd317