Re: [PATCH 3/7] vfio: New external user group/file match

2017-06-14 Thread Auger Eric
Hi, On 09/06/2017 23:59, Alex Williamson wrote: > At the point where the kvm-vfio pseudo device wants to release its > vfio group reference, we can't always acquire a new reference to make > that happen. The group can be in a state where we wouldn't allow a > new reference to be added. This new

Re: [PATCH 3/7] vfio: New external user group/file match

2017-06-14 Thread Auger Eric
Hi, On 09/06/2017 23:59, Alex Williamson wrote: > At the point where the kvm-vfio pseudo device wants to release its > vfio group reference, we can't always acquire a new reference to make > that happen. The group can be in a state where we wouldn't allow a > new reference to be added. This new

Re: [PATCH 3/7] vfio: New external user group/file match

2017-06-12 Thread Paolo Bonzini
On 09/06/2017 23:59, Alex Williamson wrote: > At the point where the kvm-vfio pseudo device wants to release its > vfio group reference, we can't always acquire a new reference to make > that happen. The group can be in a state where we wouldn't allow a > new reference to be added. This new

Re: [PATCH 3/7] vfio: New external user group/file match

2017-06-12 Thread Paolo Bonzini
On 09/06/2017 23:59, Alex Williamson wrote: > At the point where the kvm-vfio pseudo device wants to release its > vfio group reference, we can't always acquire a new reference to make > that happen. The group can be in a state where we wouldn't allow a > new reference to be added. This new

[PATCH 3/7] vfio: New external user group/file match

2017-06-09 Thread Alex Williamson
At the point where the kvm-vfio pseudo device wants to release its vfio group reference, we can't always acquire a new reference to make that happen. The group can be in a state where we wouldn't allow a new reference to be added. This new helper function allows a caller to match a file to a

[PATCH 3/7] vfio: New external user group/file match

2017-06-09 Thread Alex Williamson
At the point where the kvm-vfio pseudo device wants to release its vfio group reference, we can't always acquire a new reference to make that happen. The group can be in a state where we wouldn't allow a new reference to be added. This new helper function allows a caller to match a file to a