Re: [[PATCH V3] hw/loongarch/boot: Adjust the loading position of the initrd

2025-05-06 Thread bibo mao
This patch is much better than before, except that there is redundant char [[PATCH V3] with title :) Reviewed-by: Bibo Mao On 2025/5/6 下午4:09, Xianglai Li wrote: When only the -kernel parameter is used to load the elf kernel, the initrd is loaded in the ram. If the initrd size is too large,

[[PATCH V3] hw/loongarch/boot: Adjust the loading position of the initrd

2025-05-06 Thread Xianglai Li
When only the -kernel parameter is used to load the elf kernel, the initrd is loaded in the ram. If the initrd size is too large, the loading fails, resulting in a VM startup failure. This patch first loads initrd near the kernel. When the nearby memory space of the kernel is insufficient, it trie