Преглед на файлове

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.
x-yl преди 4 години
родител
ревизия
8e8b1c8333
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Meta/run.sh

+ 1 - 1
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