From: Joerg Roedel Date: Wed, 12 Dec 2007 11:37:24 +0000 (+0100) Subject: KVM: LAPIC: minor debugging compile fix X-Git-Tag: v2.6.25-rc1~1138^2~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722f6ecbcf3e53809236b36e6dfd9042924a2d51;p=linux-2.6 KVM: LAPIC: minor debugging compile fix This patch fixes a compile error of the LAPIC code with APIC debugging enabled. Signed-off-by: Joerg Roedel Signed-off-by: Markus Rechberger Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/lapic.c b/drivers/kvm/lapic.c index 5efa6c0276..466c37f02e 100644 --- a/drivers/kvm/lapic.c +++ b/drivers/kvm/lapic.c @@ -829,7 +829,7 @@ void kvm_lapic_set_base(struct kvm_vcpu *vcpu, u64 value) /* with FSB delivery interrupt, we can restart APIC functionality */ apic_debug("apic base msr is 0x%016" PRIx64 ", and base address is " - "0x%lx.\n", apic->apic_base, apic->base_address); + "0x%lx.\n", apic->vcpu->apic_base, apic->base_address); }