From 31b925dcb3af9b7bfc9da8a907e17263d60cdf90 Mon Sep 17 00:00:00 2001 From: Brijesh Singh Date: Thu, 21 Feb 2019 12:14:05 -0500 Subject: launch-qemu: disable optionrom loading By default EDK2 bios loads the optionrom provided with e1000. When SEV is enables the optionroms are not allowed. Lets disable the optionrom --- distros/launch-qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distros/launch-qemu.sh b/distros/launch-qemu.sh index ad679ad..173fdbc 100755 --- a/distros/launch-qemu.sh +++ b/distros/launch-qemu.sh @@ -119,7 +119,7 @@ add_opts "-drive if=pflash,format=raw,unit=1,file=${UEFI_BIOS_VARS}" # add CDROM if specified [ ! -z ${CDROM_FILE} ] && add_opts "-drive file=${CDROM_FILE},media=cdrom -boot d" -add_opts "-netdev user,id=vmnic -device e1000,netdev=vmnic" +add_opts "-netdev user,id=vmnic -device e1000,netdev=vmnic,romfile=" # If harddisk file is specified then add the HDD drive if [ ! -z ${HDA_FILE} ]; then -- cgit v1.2.3-71-gd317