[Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-22 Thread Peter Xu
We are very strict in the past getting MSIs from commit d1f6af6a1 ("kvm-irqchip: simplify kvm_irqchip_add_msi_route"), assuming that MSI should be configured before hand when fetching. When we have unrecognized configurations, we panic the system. However looks like this is too strict to be working

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-23 Thread Peter Xu
On Tue, Nov 22, 2016 at 04:08:50PM +0800, Peter Xu wrote: > We are very strict in the past getting MSIs from commit > d1f6af6a1 ("kvm-irqchip: simplify kvm_irqchip_add_msi_route"), assuming > that MSI should be configured before hand when fetching. When we have > unrecognized configurations, we pan

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Michael S. Tsirkin
On Tue, Nov 22, 2016 at 04:08:50PM +0800, Peter Xu wrote: > We are very strict in the past getting MSIs from commit > d1f6af6a1 ("kvm-irqchip: simplify kvm_irqchip_add_msi_route"), assuming > that MSI should be configured before hand when fetching. When we have > unrecognized configurations, we pan

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Peter Xu
On Fri, Nov 25, 2016 at 06:11:01AM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 22, 2016 at 04:08:50PM +0800, Peter Xu wrote: > > We are very strict in the past getting MSIs from commit > > d1f6af6a1 ("kvm-irqchip: simplify kvm_irqchip_add_msi_route"), assuming > > that MSI should be configured b

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Changlimin
-device pci-assign,configfd=30,host=05:00.0,id=hostdev0,bus=pci.0,addr=0x3 KVM pci-assign is configured, maybe the same reason as http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg04668.html please try the patch inside it. Chang limin On Fri, Nov 25, 2016 at 06:11:01AM +0200, Michael S.

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Changlimin
update the link -device pci-assign,configfd=30,host=05:00.0,id=hostdev0,bus=pci.0,addr=0x3 KVM pci-assign is configured, maybe the same reason as http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg04649.html please try the patch inside it. Chang limin

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Peter Xu
On Fri, Nov 25, 2016 at 06:03:59AM +, Changlimin wrote: > update the link > > -device pci-assign,configfd=30,host=05:00.0,id=hostdev0,bus=pci.0,addr=0x3 > KVM pci-assign is configured, maybe the same reason as > http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg04649.html > please try

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Michael S. Tsirkin
On Fri, Nov 25, 2016 at 01:28:36PM +0800, Peter Xu wrote: > On Fri, Nov 25, 2016 at 06:11:01AM +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 22, 2016 at 04:08:50PM +0800, Peter Xu wrote: > > > We are very strict in the past getting MSIs from commit > > > d1f6af6a1 ("kvm-irqchip: simplify kvm_irq

Re: [Qemu-devel] [PATCH v2] pci: relax pci_msi_get_message()

2016-11-24 Thread Peter Xu
On Fri, Nov 25, 2016 at 08:47:26AM +0200, Michael S. Tsirkin wrote: > On Fri, Nov 25, 2016 at 01:28:36PM +0800, Peter Xu wrote: > > On Fri, Nov 25, 2016 at 06:11:01AM +0200, Michael S. Tsirkin wrote: > > > On Tue, Nov 22, 2016 at 04:08:50PM +0800, Peter Xu wrote: > > > > We are very strict in the p