mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
dm:use acrn-dm logger function instread of printf
Use acrn-dm logger function instread of printf, this helps the stability testing log capture. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Cao Minggui <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "dm.h"
|
||||
#include "vmmapi.h"
|
||||
#include "sw_load.h"
|
||||
#include "log.h"
|
||||
|
||||
|
||||
/* ovmf binary layout:
|
||||
@@ -239,7 +240,7 @@ acrn_writeback_ovmf_nvstorage(struct vmctx *ctx)
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
printf("OVMF_WRITEBACK: OVMF has been written back \
|
||||
pr_info("OVMF_WRITEBACK: OVMF has been written back \
|
||||
to partition blob %s size %lu from guest 0x%lx\n",
|
||||
ovmf_path, OVMF_NVSTORAGE_SZ, OVMF_NVSTORAGE_OFFSET);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user