Specify the firmware to use via the newer '-drive if=pflash' syntax which allows specifying the raw format parameter. This avoids warnings with newer version of QEMU.
Signed-off-by: Rebecca Cran <rebe...@bsdio.com> --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 1c28e65404..0219791aa8 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -263,7 +263,7 @@ if [[ "$RUN_QEMU" == "yes" ]]; then fi ln -sf $FV_DIR/OVMF.fd $QEMU_FIRMWARE_DIR/bios.bin if [[ "$ENABLE_FLASH" == "yes" ]]; then - QEMU_COMMAND="$QEMU_COMMAND -pflash $QEMU_FIRMWARE_DIR/bios.bin" + QEMU_COMMAND="$QEMU_COMMAND -drive if=pflash,format=raw,file=$QEMU_FIRMWARE_DIR/bios.bin" else QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR" fi -- 2.22.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44337): https://edk2.groups.io/g/devel/message/44337 Mute This Topic: https://groups.io/mt/32591948/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-