mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-08 18:25:05 +00:00
In load_sw_modules() implementation, we always assuming the guest kernel module has one load address and then the whole kernel image would be loaded to guest space from its load address. This is not true when guest kernel has multiple load addresses like ELF format kernel image. This patch removes load_sw_modules() API, and the loading method of each format of kernel image could be specified in prepare_loading_xxximage() API. Tracked-On: #6323 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>