summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorx-yl <kylepereira@mail.com>2021-07-31 16:29:22 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-02 00:35:22 +0200
commit8e8b1c83332879390b32ab41b4acbf6f09ec29fb (patch)
tree4fbba98db62be420f8e5751411fe9ed097bd59b2 /Meta/run.sh
parentc73c40a21d00880b68807d59238a93dc12a95221 (diff)
downloadserenity-8e8b1c83332879390b32ab41b4acbf6f09ec29fb.zip
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.
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh2
1 files changed, 1 insertions, 1 deletions
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