From: Jon Mason <[email protected]> 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 <[email protected]> Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65 Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit cd279aeb986b4676ea8ecb1e7b12c7e29e83460a) Signed-off-by: Steve Sakoman <[email protected]> --- scripts/runqemu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/runqemu b/scripts/runqemu index cc87ea871a..63e533a934 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1328,6 +1328,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.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#149412): https://lists.openembedded.org/g/openembedded-core/message/149412 Mute This Topic: https://lists.openembedded.org/mt/81309619/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
