eliminate ramdisk
This commit is contained in:
parent
de9d72c908
commit
4adf016925
5 changed files with 2 additions and 10 deletions
2
Makefile
2
Makefile
|
@ -23,7 +23,6 @@ OBJS = \
|
|||
$K/sleeplock.o \
|
||||
$K/file.o \
|
||||
$K/pipe.o \
|
||||
$K/ramdisk.o \
|
||||
$K/exec.o \
|
||||
$K/sysfile.o \
|
||||
$K/kernelvec.o \
|
||||
|
@ -163,7 +162,6 @@ ifndef CPUS
|
|||
CPUS := 3
|
||||
endif
|
||||
QEMUOPTS = -machine virt -kernel $K/kernel -m 3G -smp $(CPUS) -nographic
|
||||
QEMUOPTS += -initrd fs.img
|
||||
QEMUOPTS += -drive file=fs.img,if=none,format=raw,id=x0 -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0
|
||||
|
||||
qemu: $K/kernel fs.img
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue