diff --git a/core/sw_load_bzimage.c b/core/sw_load_bzimage.c index e2457b0e4..f9d8d7a2c 100644 --- a/core/sw_load_bzimage.c +++ b/core/sw_load_bzimage.c @@ -279,7 +279,7 @@ acrn_prepare_zeropage(struct vmctx *ctx, int setup_size) } int -acrn_sw_load_direct(struct vmctx *ctx) +acrn_sw_load_bzimage(struct vmctx *ctx) { int ret, setup_size; uint64_t *cfg_offset = (uint64_t *)(ctx->baseaddr + GUEST_CFG_OFFSET); diff --git a/core/sw_load_common.c b/core/sw_load_common.c index 9513a6854..be3e83fb1 100644 --- a/core/sw_load_common.c +++ b/core/sw_load_common.c @@ -153,5 +153,5 @@ acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820) int acrn_sw_load(struct vmctx *ctx) { - return acrn_sw_load_direct(ctx); + return acrn_sw_load_bzimage(ctx); } diff --git a/include/sw_load.h b/include/sw_load.h index ecb68587f..f32087e4e 100644 --- a/include/sw_load.h +++ b/include/sw_load.h @@ -71,7 +71,7 @@ void vsbl_set_bdf(int bnum, int snum, int fnum); int check_image(char *path); uint32_t acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820); -int acrn_sw_load_direct(struct vmctx *ctx); +int acrn_sw_load_bzimage(struct vmctx *ctx); int acrn_sw_load_vsbl(struct vmctx *ctx); int acrn_sw_load(struct vmctx *ctx); #endif