Re: [Qemu-devel] [PATCH v2] kvm-irqchip: only commit route when irqchip is used

2016-08-02 Thread David Gibson
On Wed, Aug 03, 2016 at 11:07:21AM +0800, Peter Xu wrote: > Reported from Alexey Kardashevskiy: > > 3f1fea0fb5bf "kvm-irqchip: do explicit commit when update irq" produces > a crash on pseries guest running with VFIO on POWER8 machine as it does > not support KVM_CAP_IRQCHIP (KVM_CAP_IRQ_XICS is t

[Qemu-devel] [PATCH v2] kvm-irqchip: only commit route when irqchip is used

2016-08-02 Thread Peter Xu
Reported from Alexey Kardashevskiy: 3f1fea0fb5bf "kvm-irqchip: do explicit commit when update irq" produces a crash on pseries guest running with VFIO on POWER8 machine as it does not support KVM_CAP_IRQCHIP (KVM_CAP_IRQ_XICS is there instead). At the result, KVMState::irq_routes is NULL when VFIO