mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
run.sh: Pass -drive instead of -hda to qemu.
run.sh currently makes qemu print this as the very first output: 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. This is scary for people who don't know that this is normal, and write operations to block 0 being restricted could be confusing for some operations happening from within serenity too at some point. So specify the 'raw' format explicitly, like the warning suggests. Requires using -drive instead of -hda. From `man qemu-system`: Instead of -hda, -hdb, -hdc, -hdd, you can use: qemu-system-x86_64 -drive file=file,index=0,media=disk So use that, and also pass format=raw.
This commit is contained in:
parent
d127492f0e
commit
1539a976c8
Notes:
sideshowbarker
2024-07-19 05:49:43 +09:00
Author: https://github.com/nico 🔰 Commit: https://github.com/SerenityOS/serenity/commit/1539a976c87 Pull-request: https://github.com/SerenityOS/serenity/pull/2507
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-d cpu_reset,guest_errors
|
||||
-smp 2
|
||||
-device VGA,vgamem_mb=64
|
||||
-hda _disk_image
|
||||
-drive file=_disk_image,format=raw,index=0,media=disk
|
||||
-device ich9-ahci
|
||||
-debugcon stdio
|
||||
-soundhw pcspk
|
||||
|
|
Loading…
Add table
Reference in a new issue