aboutsummaryrefslogtreecommitdiffstats
path: root/launch-qemu.sh
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2022-08-19 15:57:04 -0500
committerTom Lendacky <thomas.lendacky@amd.com>2022-08-19 15:57:04 -0500
commit9fb7db05678e2fa12a1a2e70dbd52ddb5ac6dc97 (patch)
tree3e9aa1a1b5469ac095c2d7d805bb28bd5a8276fa /launch-qemu.sh
parent253867f3420edcf8fe75434292d2bbfc378bdc22 (diff)
downloadcachepc-amdsev-9fb7db05678e2fa12a1a2e70dbd52ddb5ac6dc97.tar.gz
cachepc-amdsev-9fb7db05678e2fa12a1a2e70dbd52ddb5ac6dc97.zip
Add the UEFI variables pflash file on qmeu command line
Diffstat (limited to 'launch-qemu.sh')
-rwxr-xr-xlaunch-qemu.sh1
1 files changed, 1 insertions, 0 deletions
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..."