From e52d8bcfd2be727e270193740336580ee47acccf Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 23 Nov 2015 15:27:49 +0100 Subject: [PATCH] Specify `raw` ISO format explicitely to avoid QEMU warning --- Makefile | 2 +- posts/2015-08-18-multiboot-kernel.md | 4 ++-- posts/2015-09-02-setup-rust.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c1fa9749..4ae12803 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ clean: @rm -rf build run: $(iso) - @qemu-system-x86_64 -hda $(iso) + @qemu-system-x86_64 -drive format=raw,file=$(iso) iso: $(iso) diff --git a/posts/2015-08-18-multiboot-kernel.md b/posts/2015-08-18-multiboot-kernel.md index bf5abccc..001e222d 100644 --- a/posts/2015-08-18-multiboot-kernel.md +++ b/posts/2015-08-18-multiboot-kernel.md @@ -209,7 +209,7 @@ Now it's time to boot our OS. We will use [QEMU]: [QEMU]: https://en.wikipedia.org/wiki/QEMU ``` -qemu-system-x86_64 -hda os.iso +qemu-system-x86_64 -drive format=raw,file=os.iso ``` ![qemu output](/images/qemu-ok.png) @@ -263,7 +263,7 @@ clean: @rm -r build run: $(iso) - @qemu-system-x86_64 -hda $(iso) + @qemu-system-x86_64 -drive format=raw,file=$(iso) iso: $(iso) diff --git a/posts/2015-09-02-setup-rust.md b/posts/2015-09-02-setup-rust.md index a8fed00f..0221944a 100644 --- a/posts/2015-09-02-setup-rust.md +++ b/posts/2015-09-02-setup-rust.md @@ -231,7 +231,7 @@ Such a boot loop is most likely caused by some [CPU exception][exception table]. [Triple Fault]: http://wiki.osdev.org/Triple_Fault ``` -> qemu-system-x86_64 -d int -no-reboot -hda build/os-x86_64.iso +> qemu-system-x86_64 -d int -no-reboot -drive format=raw,file=build/os-x86_64.iso SMM: enter ... SMM: after RSM