From 8da8bdc51acdc1b49298a17fdc5f6bec5b18582e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 11 Mar 2022 16:49:27 -0500 Subject: [PATCH] Fix qemu command to not warn about raw disk image file --- Rsconscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rsconscript b/Rsconscript index 1f0b141..0aa52c8 100644 --- a/Rsconscript +++ b/Rsconscript @@ -34,5 +34,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