mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 14:07:42 +00:00
HV: Refine two log info about vcpu and instr_emul
We have two same log message in decode_instruction. It's a little bit confusing. So, this patch refine the log message to make it more explicit. BTW, we refine one message in create_vcpu. Tracked-On: #1136 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
96dba0d8fe
commit
f611012d28
@ -2240,7 +2240,7 @@ int decode_instruction(struct vcpu *vcpu)
|
||||
retval = vie_init(&emul_ctxt->vie, vcpu);
|
||||
if (retval < 0) {
|
||||
if (retval != -EFAULT) {
|
||||
pr_err("decode instruction failed @ 0x%016llx:",
|
||||
pr_err("init vie failed @ 0x%016llx:",
|
||||
vcpu_get_rip(vcpu));
|
||||
}
|
||||
return retval;
|
||||
|
@ -182,7 +182,7 @@ int create_vcpu(uint16_t pcpu_id, struct vm *vm, struct vcpu **rtn_vcpu_handle)
|
||||
ASSERT(vm != NULL, "");
|
||||
ASSERT(rtn_vcpu_handle != NULL, "");
|
||||
|
||||
pr_info("Creating VCPU %hu", pcpu_id);
|
||||
pr_info("Creating VCPU working on PCPU%hu", pcpu_id);
|
||||
|
||||
/* Allocate memory for VCPU */
|
||||
vcpu = calloc(1U, sizeof(struct vcpu));
|
||||
|
Loading…
Reference in New Issue
Block a user