mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +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:
@@ -16,6 +16,7 @@
|
||||
#include "inout.h"
|
||||
#include "vmmapi.h"
|
||||
#include "vrpmb.h"
|
||||
#include "log.h"
|
||||
|
||||
#define CMOS_ADDR 0x74
|
||||
#define CMOS_DATA 0x75
|
||||
@@ -96,7 +97,7 @@ int init_cmos_vrpmb(struct vmctx *ctx)
|
||||
|
||||
/* get vrpmb key, and store it to cmos buffer */
|
||||
if (!get_vrpmb_key(vrpmb_buffer, RPMB_KEY_LEN)) {
|
||||
printf("SW_LOAD: failed to get vrpmb key\n");
|
||||
pr_err("SW_LOAD: failed to get vrpmb key\n");
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user