Re: [Xen-devel] [PATCH 1/4] x86/vMSI-X: defer intercept handler registration

2016-06-21 Thread Andrew Cooper
On 08/06/16 13:52, Jan Beulich wrote: > There's no point in registering the internal MSI-X table intercept > functions on all domains - it is sufficient to do so once a domain gets > an MSI-X capable device assigned. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper

Re: [Xen-devel] [PATCH 1/4] x86/vMSI-X: defer intercept handler registration

2016-06-17 Thread Jan Beulich
>>> On 17.06.16 at 18:13, wrote: > On Wed, Jun 08, 2016 at 06:52:58AM -0600, Jan Beulich wrote: >> There's no point in registering the internal MSI-X table intercept >> functions on all domains - it is sufficient to do so once a domain gets >> an MSI-X capable device assigned. > > I think this wi

Re: [Xen-devel] [PATCH 1/4] x86/vMSI-X: defer intercept handler registration

2016-06-17 Thread Konrad Rzeszutek Wilk
On Wed, Jun 08, 2016 at 06:52:58AM -0600, Jan Beulich wrote: > There's no point in registering the internal MSI-X table intercept > functions on all domains - it is sufficient to do so once a domain gets > an MSI-X capable device assigned. I think this will break on SR-IOV devices that are created

[Xen-devel] [PATCH 1/4] x86/vMSI-X: defer intercept handler registration

2016-06-08 Thread Jan Beulich
There's no point in registering the internal MSI-X table intercept functions on all domains - it is sufficient to do so once a domain gets an MSI-X capable device assigned. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -644,8 +644,6 @@ int hvm_domain_ini