From 74a0d1e3b61ac272f75c14f87bab9c0c5f1381c1 Mon Sep 17 00:00:00 2001 From: Mike Beaton Date: Mon, 22 Apr 2024 20:53:36 +0100 Subject: [PATCH] test_qemu_fw: fix 'raw' format warning --- 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)