From: Zixuan Wang <zxwang42@xxxxxxxxx> Set readonly for UEFI OVMF image. Signed-off-by: Zixuan Wang <zxwang42@xxxxxxxxx> --- x86/efi/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/efi/run b/x86/efi/run index a47c0d5..922b266 100755 --- a/x86/efi/run +++ b/x86/efi/run @@ -54,7 +54,7 @@ popd || exit 2 # UEFI's largest allocatable memory region is large enough. EFI_RUN=y \ "$TEST_DIR/run" \ - -drive file="$EFI_UEFI",format=raw,if=pflash \ + -drive file="$EFI_UEFI",format=raw,if=pflash,readonly=on \ -drive file.dir="$EFI_TEST/$EFI_CASE/",file.driver=vvfat,file.rw=on,format=raw,if=virtio \ -net none \ -nographic \ -- 2.33.0