KVM: ioapic: Fix an error field reference
authorLiu Yuan <tailai.ly@taobao.com>
Thu, 21 Apr 2011 06:53:57 +0000 (14:53 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:27 +0000 (08:39 -0400)
Function ioapic_debug() in the ioapic_deliver() misnames
one filed by reference. This patch correct it.

Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/ioapic.c

index 0b9df8303dcf44d4a945f8c5eb9eaee6d045dd40..8df1ca104a7f11ac0b78c820d9519cd2f2fe1a15 100644 (file)
@@ -167,7 +167,7 @@ static int ioapic_deliver(struct kvm_ioapic *ioapic, int irq)
 
        ioapic_debug("dest=%x dest_mode=%x delivery_mode=%x "
                     "vector=%x trig_mode=%x\n",
-                    entry->fields.dest, entry->fields.dest_mode,
+                    entry->fields.dest_id, entry->fields.dest_mode,
                     entry->fields.delivery_mode, entry->fields.vector,
                     entry->fields.trig_mode);