summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorLiu Yuan <tailai.ly@taobao.com>2011-04-21 14:53:57 +0800
committerAvi Kivity <avi@redhat.com>2011-05-22 08:39:27 -0400
commita38f84ca8c6991925cb8bb6371ade8df9d3cc1e6 (patch)
tree6c0b7f3d773f97b40dd2711cb59dca05b6673b3b /virt
parenta78484c60e35555d6e0e5b1eb83d4913621c59fb (diff)
downloadtalos-obmc-linux-a38f84ca8c6991925cb8bb6371ade8df9d3cc1e6.tar.gz
talos-obmc-linux-a38f84ca8c6991925cb8bb6371ade8df9d3cc1e6.zip
KVM: ioapic: Fix an error field reference
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>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/ioapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index 0b9df8303dcf..8df1ca104a7f 100644
--- a/virt/kvm/ioapic.c
+++ b/virt/kvm/ioapic.c
@@ -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);
OpenPOWER on IntegriCloud