Use -cdrom instead of -drive as it's shorter

Right now, it does not matter whether we boot from a drive or a cdrom. Therefore we use the shorter `-cdrom`.
This commit is contained in:
Philipp Oppermann
2016-01-02 16:26:54 +01:00
parent d57657ac29
commit be251361fa
5 changed files with 8 additions and 8 deletions

View File

@@ -214,7 +214,7 @@ Now it's time to boot our OS. We will use [QEMU]:
[QEMU]: https://en.wikipedia.org/wiki/QEMU
```
qemu-system-x86_64 -drive format=raw,file=os.iso
qemu-system-x86_64 -cdrom os.iso
```
![qemu output](/images/qemu-ok.png)
@@ -268,7 +268,7 @@ clean:
@rm -r build
run: $(iso)
@qemu-system-x86_64 -drive format=raw,file=$(iso)
@qemu-system-x86_64 -cdrom $(iso)
iso: $(iso)