Skip to content

Commit a38f84c

Browse files
liuyavikivity
authored andcommitted
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>
1 parent a78484c commit a38f84c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎virt/kvm/ioapic.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static int ioapic_deliver(struct kvm_ioapic *ioapic, int irq)
167167

168168
ioapic_debug("dest=%x dest_mode=%x delivery_mode=%x "
169169
"vector=%x trig_mode=%x\n",
170-
entry->fields.dest, entry->fields.dest_mode,
170+
entry->fields.dest_id, entry->fields.dest_mode,
171171
entry->fields.delivery_mode, entry->fields.vector,
172172
entry->fields.trig_mode);
173173

0 commit comments

Comments
 (0)