Re: [PATCH v2 2/9] kvm-vfio: Decouple only when we match a group

2017-06-19 Thread Alex Williamson
On Tue, 20 Jun 2017 12:34:57 +1000 Alexey Kardashevskiy wrote: > On 20/06/17 03:14, Alex Williamson wrote: > > Unset-KVM and decrement-assignment only when we find the group in our > > list. Otherwise we can get out of sync if the user triggers this for > > groups that aren't currently on our li

Re: [PATCH v2 2/9] kvm-vfio: Decouple only when we match a group

2017-06-19 Thread Alexey Kardashevskiy
On 20/06/17 03:14, Alex Williamson wrote: > Unset-KVM and decrement-assignment only when we find the group in our > list. Otherwise we can get out of sync if the user triggers this for > groups that aren't currently on our list. > > Signed-off-by: Alex Williamson > Cc: Paolo Bonzini > Cc: Eric

[PATCH v2 2/9] kvm-vfio: Decouple only when we match a group

2017-06-19 Thread Alex Williamson
Unset-KVM and decrement-assignment only when we find the group in our list. Otherwise we can get out of sync if the user triggers this for groups that aren't currently on our list. Signed-off-by: Alex Williamson Cc: Paolo Bonzini Cc: Eric Auger Cc: Alexey Kardashevskiy Cc: sta...@vger.kernel.