From 8e8b1c83332879390b32ab41b4acbf6f09ec29fb Mon Sep 17 00:00:00 2001 From: x-yl Date: Sat, 31 Jul 2021 16:29:22 +0200 Subject: [PATCH] Meta: Explicitly specify the disk format in the QEMU options Otherwise we're getting this warning: WARNING: Image format was not specified for '_disk_image' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. --- Meta/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/run.sh b/Meta/run.sh index 928cf0a55f..9af23ba168 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -196,7 +196,7 @@ $SERENITY_EXTRA_QEMU_ARGS -device secondary-vga -device bochs-display,bus=pcie.6,addr=0x10.0x0 -device piix3-ide --drive file=${SERENITY_DISK_IMAGE},id=disk,if=none +-drive file=${SERENITY_DISK_IMAGE},format=raw,id=disk,if=none -device ahci,id=ahci -device ide-hd,bus=ahci.0,drive=disk,unit=0 -usb