On 07/24/19 03:51, [email protected] wrote: > Specify the firmware to use via the newer '-drive if=pflash' syntax > which allows specifying the raw format and readonly parameters. This > avoids warnings with newer version of QEMU. > > Signed-off-by: Rebecca Cran <[email protected]> > --- > OvmfPkg/build.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh > index a2c4eff2a5..e2890ff762 100755 > --- a/OvmfPkg/build.sh > +++ b/OvmfPkg/build.sh > @@ -268,7 +268,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,readonly,file=$QEMU_FIRMWARE_DIR/bios.bin" > else > QEMU_COMMAND="$QEMU_COMMAND -L $QEMU_FIRMWARE_DIR" > fi >
I'm late to reviewing the "OvmfPkg/build.sh" patches, but then again, I'm glad that both Jordan and Phil are scrutinizing them :) So I guess, on "OvmfPkg/build.sh" patches, I'll just defer to Jordan and Phil. I appreciate the relief! (ask me about my day... or rather don't...) Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44421): https://edk2.groups.io/g/devel/message/44421 Mute This Topic: https://groups.io/mt/32580104/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
