From: Jon Mason <redacted>
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 <redacted>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
---
scripts/runqemu | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/runqemu b/scripts/runqemu
index 532f2e338d52..cf64ca149c53 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--
2.20.1