cloud-hypervisor / rust-hypervisor-firmware

Apache License 2.0
608 stars 57 forks source link

Boot from memory device path #305

Closed rbradford closed 11 months ago

rbradford commented 11 months ago

GRUB on (at least RISC-V) loads the guest kernel directly into memory and then expects the firmware to parse it from there - it does this by using a device path of type PCI and subtype memory mapped.

With this change the Linux kernel boots on RISC-V if the kernel command line is modified to specify a fixed rootfs as there are issues with the initramfs.