From: Jon Mason Date: Wed, 3 Mar 2021 18:29:45 +0000 (-0500) Subject: runqemu: use "raw" instead of "bin" for ovmf X-Git-Tag: yocto-3.3~267 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cd279aeb986b4676ea8ecb1e7b12c7e29e83460a;p=openembedded-core.git runqemu: use "raw" instead of "bin" for ovmf bin is not an acceptable format for qemu and will throw an error is set. The correct format in this case is raw. Signed-off-by: Jon Mason Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65 Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index 532f2e338d..cf64ca149c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1345,6 +1345,8 @@ class BaseConfig(object): for ovmf in self.ovmf_bios: format = ovmf.rsplit('.', 1)[-1] + if format == "bin": + format = "raw" self.qemu_opt += ' -drive if=pflash,format=%s,file=%s' % (format, ovmf) self.qemu_opt += ' ' + self.qemu_opt_script