diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2019-02-21 12:14:05 -0500 |
|---|---|---|
| committer | Brijesh Singh <brijesh.singh@amd.com> | 2019-02-21 12:14:05 -0500 |
| commit | 31b925dcb3af9b7bfc9da8a907e17263d60cdf90 (patch) | |
| tree | 625d8f6d912ba2e28eee50759ae83e602b8e6985 | |
| parent | 3288d6a1d05984e5e1061f08ff956603b4953630 (diff) | |
| download | cachepc-amdsev-31b925dcb3af9b7bfc9da8a907e17263d60cdf90.tar.gz cachepc-amdsev-31b925dcb3af9b7bfc9da8a907e17263d60cdf90.zip | |
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
| -rwxr-xr-x | distros/launch-qemu.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
