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:
parent
b6c5e0efdd
commit
37e664db0a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue