From d02f1a9efcf5d94d37abf3ffdcf1200852f70ccd Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 12 Mar 2022 10:50:09 -0500 Subject: [PATCH] Avoid qemu raw image format warning --- Rsconscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rsconscript b/Rsconscript index 070c05e..9c5c2dc 100644 --- a/Rsconscript +++ b/Rsconscript @@ -31,5 +31,5 @@ uefi_env = env "uefi" do |env| end task "run" do - sh %W[qemu-system-x86_64 -bios OVMF.fd -hda #{uefi_env.expand("^/efi-loader.img")}] + sh %W[qemu-system-x86_64 -bios OVMF.fd -drive file=#{uefi_env.expand("^/efi-loader.img")},format=raw] end