From 719e07fb8f979ef4450f06388e8e28aebc19a2c0 Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Wed, 13 Jun 2018 16:44:12 +0800 Subject: [PATCH] HV: fix a print typo in create_vcpu *d is typo of %d, fix it. Signed-off-by: Victor Sun --- hypervisor/arch/x86/guest/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/arch/x86/guest/vcpu.c b/hypervisor/arch/x86/guest/vcpu.c index 3fcdc7c07..eb95514ff 100644 --- a/hypervisor/arch/x86/guest/vcpu.c +++ b/hypervisor/arch/x86/guest/vcpu.c @@ -83,7 +83,7 @@ int create_vcpu(int cpu_id, struct vm *vm, struct vcpu **rtn_vcpu_handle) if (is_vcpu_bsp(vcpu) && is_vm0(vcpu->vm)) { /* Set up temporary guest page tables */ vm->arch_vm.guest_init_pml4 = create_guest_initial_paging(vm); - pr_info("VM *d VCPU %d CR3: 0x%016llx ", + pr_info("VM %d VCPU %d CR3: 0x%016llx ", vm->attr.id, vcpu->vcpu_id, vm->arch_vm.guest_init_pml4); }