Use NVMe as root when running make qemu_nvme

This commit is contained in:
Jeremy Soller 2019-08-24 20:53:48 -06:00
parent 75ee77de76
commit 31dbd609d3
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1

View file

@ -69,15 +69,13 @@ qemu_efi_no_build: build/extra.qcow2
-drive file=build/harddrive-efi.bin,format=raw \
-drive file=build/extra.qcow2
qemu_nvme: build/harddrive.bin build/extra.qcow2
qemu_nvme: build/harddrive.bin
$(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,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL
qemu_nvme_no_build: build/extra.qcow2
qemu_nvme_no_build:
$(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,if=none,id=drv0 -device nvme,drive=drv0,serial=NVME_SERIAL
qemu_live: build/livedisk.bin build/extra.qcow2
$(QEMU) $(QEMUFLAGS) \