Fix running qemu_live, update kernel
This commit is contained in:
parent
9ec6b43a65
commit
9d4a2650eb
2
kernel
2
kernel
|
@ -1 +1 @@
|
||||||
Subproject commit 69e3fe105df62f28a99d1a850f342ea69c6623d3
|
Subproject commit ecc0e747fc703a1b95b4e0cdb194defd443cafd6
|
12
mk/qemu.mk
12
mk/qemu.mk
|
@ -66,22 +66,22 @@ qemu_efi_no_build: build/extra.qcow2
|
||||||
|
|
||||||
qemu_nvme: build/harddrive.bin build/extra.qcow2
|
qemu_nvme: build/harddrive.bin build/extra.qcow2
|
||||||
$(QEMU) $(QEMUFLAGS) \
|
$(QEMU) $(QEMUFLAGS) \
|
||||||
-drive file=build/harddrive.bin,format=raw -drive file=build/extra.qcow2,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL \
|
-drive file=build/harddrive.bin,format=raw \
|
||||||
-drive file=build/extra.qcow2
|
-drive file=build/extra.qcow2,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL
|
||||||
|
|
||||||
qemu_nvme_no_build: build/extra.qcow2
|
qemu_nvme_no_build: build/extra.qcow2
|
||||||
$(QEMU) $(QEMUFLAGS) \
|
$(QEMU) $(QEMUFLAGS) \
|
||||||
-drive file=build/harddrive.bin,format=raw -drive file=build/extra.qcow2,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL \
|
-drive file=build/harddrive.bin,format=raw \
|
||||||
-drive file=build/extra.qcow2
|
-drive file=build/extra.qcow2,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL
|
||||||
|
|
||||||
qemu_live: build/livedisk.bin build/extra.qcow2
|
qemu_live: build/livedisk.bin build/extra.qcow2
|
||||||
$(QEMU) $(QEMUFLAGS) \
|
$(QEMU) $(QEMUFLAGS) \
|
||||||
-device usb-ehci,id=flash_bus -drive id=flash_drive,file=build/livedisk.bin,format=raw,if=none -device usb-storage,drive=flash_drive,bus=flash_bus.0 \
|
-drive file=build/livedisk.bin,format=raw \
|
||||||
-drive file=build/extra.qcow2
|
-drive file=build/extra.qcow2
|
||||||
|
|
||||||
qemu_live_no_build: build/extra.qcow2
|
qemu_live_no_build: build/extra.qcow2
|
||||||
$(QEMU) $(QEMUFLAGS) \
|
$(QEMU) $(QEMUFLAGS) \
|
||||||
-device usb-ehci,id=flash_bus -drive id=flash_drive,file=build/livedisk.bin,format=raw,if=none -device usb-storage,drive=flash_drive,bus=flash_bus.0 \
|
-drive file=build/livedisk.bin,format=raw \
|
||||||
-drive file=build/extra.qcow2
|
-drive file=build/extra.qcow2
|
||||||
|
|
||||||
qemu_iso: build/livedisk.iso build/extra.qcow2
|
qemu_iso: build/livedisk.iso build/extra.qcow2
|
||||||
|
|
Loading…
Reference in a new issue