KVM: LAPIC: minor debugging compile fix
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 12 Dec 2007 11:37:24 +0000 (12:37 +0100)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:21 +0000 (17:53 +0200)
This patch fixes a compile error of the LAPIC code with APIC debugging enabled.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Markus Rechberger <markus.rechberger@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/lapic.c

index 5efa6c0276c6f6fbdd8c66d2114cec1e021615d6..466c37f02e8524f916f3d23114d98ac86384da41 100644 (file)
@@ -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);
 
 }