Message ID | 1231840721-22605-5-git-send-email-sheng@linux.intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/virt/kvm/irq_comm.c b/virt/kvm/irq_comm.c index 8f49113..0c3266a 100644 --- a/virt/kvm/irq_comm.c +++ b/virt/kvm/irq_comm.c @@ -39,7 +39,7 @@ void kvm_set_irq(struct kvm *kvm, int irq_source_id, int irq, int level) * IOAPIC. So set the bit in both. The guest will ignore * writes to the unused one. */ - kvm_ioapic_set_irq(kvm->arch.vioapic, irq, !!(*irq_state)); + kvm_ioapic_set_irq(ioapic_irqchip(kvm), irq, !!(*irq_state)); #ifdef CONFIG_X86 kvm_pic_set_irq(pic_irqchip(kvm), irq, !!(*irq_state)); #endif
Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- virt/kvm/irq_comm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)