mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
HV: add board and scenario info in log
As build variants for different board and different scenario growing, users might make mistake on HV binary distributions. Checking board/scenario info from log would be the fastest way to know whether the binary matches. Also it would be of benifit to developers for confirming the correct binary they are debugging. Tracked-On: #4946 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -214,14 +214,13 @@ void init_pcpu_post(uint16_t pcpu_id)
|
||||
/* Calibrate TSC Frequency */
|
||||
calibrate_tsc();
|
||||
|
||||
pr_acrnlog("HV version %s-%s-%s %s (daily tag:%s) build by %s%s, start time %luus",
|
||||
pr_acrnlog("HV version %s-%s-%s %s (daily tag:%s) %s@%s build by %s%s, start time %luus",
|
||||
HV_FULL_VERSION,
|
||||
HV_BUILD_TIME, HV_BUILD_VERSION, HV_BUILD_TYPE,
|
||||
HV_DAILY_TAG,
|
||||
HV_DAILY_TAG, HV_BUILD_SCENARIO, HV_BUILD_BOARD,
|
||||
HV_BUILD_USER, HV_CONFIG_TOOL, ticks_to_us(start_tsc));
|
||||
|
||||
pr_acrnlog("API version %u.%u",
|
||||
HV_API_MAJOR_VERSION, HV_API_MINOR_VERSION);
|
||||
pr_acrnlog("API version %u.%u", HV_API_MAJOR_VERSION, HV_API_MINOR_VERSION);
|
||||
|
||||
pr_acrnlog("Detect processor: %s", (get_pcpu_info())->model_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user