Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2015-01-23 Thread Jan Beulich
On 23.01.15 at 13:59, li...@eikelenboom.it wrote: Friday, January 23, 2015, 1:42:04 PM, you wrote: On Mon, 1 Dec 2014, Stefano Stabellini wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission call to fail and

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2015-01-23 Thread Stefano Stabellini
On Fri, 23 Jan 2015, Jan Beulich wrote: On 23.01.15 at 13:59, li...@eikelenboom.it wrote: Friday, January 23, 2015, 1:42:04 PM, you wrote: On Mon, 1 Dec 2014, Stefano Stabellini wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2015-01-23 Thread Sander Eikelenboom
Friday, January 23, 2015, 1:42:04 PM, you wrote: On Mon, 1 Dec 2014, Stefano Stabellini wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission call to fail and return error (domain_pirq_to_irq returns 0). Call

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2015-01-23 Thread Stefano Stabellini
On Mon, 1 Dec 2014, Stefano Stabellini wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission call to fail and return error (domain_pirq_to_irq returns 0). Call xc_domain_irq_permission first to prevent this from

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2014-12-02 Thread Jan Beulich
On 01.12.14 at 20:22, stefano.stabell...@eu.citrix.com wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission call to fail and return error (domain_pirq_to_irq returns 0). Apart from the patch title being rather

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2014-12-02 Thread Stefano Stabellini
On Tue, 2 Dec 2014, Jan Beulich wrote: On 01.12.14 at 20:22, stefano.stabell...@eu.citrix.com wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission call to fail and return error (domain_pirq_to_irq returns 0).

Re: [Xen-devel] [PATCH for-4.5] call xc_domain_irq_permission before xc_domain_irq_permission

2014-12-02 Thread Jan Beulich
On 02.12.14 at 11:55, stefano.stabell...@eu.citrix.com wrote: On Tue, 2 Dec 2014, Jan Beulich wrote: On 01.12.14 at 20:22, stefano.stabell...@eu.citrix.com wrote: xc_physdev_unmap_pirq might revoke the permission to map the irq from the domain causing the following xc_domain_irq_permission