Re: [Xen-devel] [PATCH] x86/vMsi-x: check whether the msixtbl_list has been initialized or not when accessing it

2016-07-29 Thread gao, chao
On Fri, Jul 29, 2016 at 10:30:07AM +0100, Andrew Cooper wrote: >On 29/07/16 02:35, Chao Gao wrote: >> MSI-x tables' initialization had been detered in the commit >> 74c6dc2d0ac4dcab0c6243cdf6ed550c1532b798. If an assigned device does not >> support >> MSI-x, the msixtbl_list won't be initialized.

Re: [Xen-devel] [PATCH] x86/vMsi-x: check whether the msixtbl_list has been initialized or not when accessing it

2016-07-29 Thread Andrew Cooper
On 29/07/16 02:35, Chao Gao wrote: > MSI-x tables' initialization had been detered in the commit > 74c6dc2d0ac4dcab0c6243cdf6ed550c1532b798. If an assigned device does not > support > MSI-x, the msixtbl_list won't be initialized. Howerver, both of following > paths > XEN_DOMCTL_bind_pt_irq >

[Xen-devel] [PATCH] x86/vMsi-x: check whether the msixtbl_list has been initialized or not when accessing it

2016-07-28 Thread Chao Gao
MSI-x tables' initialization had been detered in the commit 74c6dc2d0ac4dcab0c6243cdf6ed550c1532b798. If an assigned device does not support MSI-x, the msixtbl_list won't be initialized. Howerver, both of following paths XEN_DOMCTL_bind_pt_irq pt_irq_create_bind msixtbl_pt_r