]> git.lizzy.rs Git - loadnothing.git/commitdiff
Set QEMU disk format to raw
authorHimbeerserverDE <himbeerserverde@gmail.com>
Sat, 17 Sep 2022 10:38:02 +0000 (12:38 +0200)
committerHimbeerserverDE <himbeerserverde@gmail.com>
Sat, 17 Sep 2022 10:38:02 +0000 (12:38 +0200)
Makefile

index d65e981117aab15a22295a8d4be9bb90932c598f..f043f68fba4178b1b2e1d0a2e6fa9a10c3847576 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ nothing.img: magic.bin stage2/target/x86-loadnothing/release/stage2 stage1/boot.
        dd if=stage2/target/x86-loadnothing/release/stage2 of=nothing.img bs=512 seek=1 conv=notrunc
 
 vm: nothing.img
-       qemu-system-x86_64 -hda nothing.img
+       qemu-system-x86_64 -drive format=raw,file=nothing.img
 
 clean:
        rm -f magic.bin stage1/boot.bin nothing.img