HV: Replace misused pr_fatal with pr_acrnlog

The following massages is not fatal error but should be print to serial and
sbuf at the same time. pr_fatal is not a good choice. pr_acrnlog is designed
to deal with the situation. So replace the following misused pr_fatal with
pr_acrnlog.

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Kaige Fu 2018-05-29 15:43:26 +08:00 committed by lijinxia
parent b6c5e0efdd
commit 37e664db0a
2 changed files with 3 additions and 3 deletions

View File

@ -445,10 +445,10 @@ int ept_violation_vmexit_handler(struct vcpu *vcpu)
return status;
out:
pr_fatal("Guest Linear Address: 0x%016llx",
pr_acrnlog("Guest Linear Address: 0x%016llx",
exec_vmread(VMX_GUEST_LINEAR_ADDR));
pr_fatal("Guest Physical Address address: 0x%016llx",
pr_acrnlog("Guest Physical Address address: 0x%016llx",
gpa);
return status;

View File

@ -328,7 +328,7 @@ int prepare_vm0(void)
/* start vm0 BSP automatically */
start_vm(vm);
pr_fatal("Start VM0");
pr_acrnlog("Start VM0");
return 0;
}