Re: [PATCH 3/3] KVM: x86: fix ready_for_interrupt reporting in split IRQ chip case

2015-11-13 Thread Steve Rutherford
On Fri, Nov 13, 2015 at 12:52 AM, Paolo Bonzini wrote: > > > On 12/11/2015 20:07, Matt Gingell wrote: >> This patch adds a call to kvm_arch_interrupt_allowed to ensure ready for >> interrupt is reported to user space correctly. This addresses a problem >> observed in QEMU when kvm->ready_for_inter

Re: [PATCH 3/3] KVM: x86: fix ready_for_interrupt reporting in split IRQ chip case

2015-11-13 Thread Paolo Bonzini
On 12/11/2015 20:07, Matt Gingell wrote: > This patch adds a call to kvm_arch_interrupt_allowed to ensure ready for > interrupt is reported to user space correctly. This addresses a problem > observed in QEMU when kvm->ready_for_interrupt is set but the x86 > interrupt flag is clear. > > Additio

[PATCH 3/3] KVM: x86: fix ready_for_interrupt reporting in split IRQ chip case

2015-11-12 Thread Matt Gingell
This patch adds a call to kvm_arch_interrupt_allowed to ensure ready for interrupt is reported to user space correctly. This addresses a problem observed in QEMU when kvm->ready_for_interrupt is set but the x86 interrupt flag is clear. Additionally, test that the APIC is ready to accept an interru