From 92cac23c25124473db3560647564d5e57ae86415 Mon Sep 17 00:00:00 2001 From: Mike Beaton Date: Tue, 23 Apr 2024 10:03:16 +0100 Subject: [PATCH] test_qemu_fw: fix 'raw' format warning (#25) --- test_qemu_fw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_qemu_fw.py b/test_qemu_fw.py index 8a7f241..b88b390 100755 --- a/test_qemu_fw.py +++ b/test_qemu_fw.py @@ -185,7 +185,7 @@ def main(): # host directory corruption. with tempfile.TemporaryDirectory() as temp_dir: esp_dir = os.path.join(temp_dir, 'ESP') - boot_drive = '-hda fat:rw:' + esp_dir + boot_drive = '-drive format=raw,file=fat:rw:' + esp_dir if args.test_linux: if not prepare_test_linux_image(testlinux_path): sys.exit(1)