vfio: add local lock for virqfd instead of depending on VFIO PCI
vfio: add local lock for virqfd instead of depending on VFIO PCI

The Virqfd code needs to keep accesses to any struct *virqfd safe, but
this comes into play only when creating or destroying eventfds, so sharing
the same spinlock with the VFIO bus driver is not necessary.

Signed-off-by: Antonios Motakis <a37253e37a7100f2e59424619f5fbd4d2329906e@virtualopensystems.com>
Signed-off-by: Baptiste Reynal <26e4d4833d17b7407f83eb1806153d22937b0609@virtualopensystems.com>
Reviewed-by: Eric Auger <f60a3d4b180725ab11fd137ffa53f5ae9a69db9a@linaro.org>
Tested-by: Eric Auger <f60a3d4b180725ab11fd137ffa53f5ae9a69db9a@linaro.org>
Signed-off-by: Alex Williamson <7469de9b95ba379e2656fa9677689657c47a7690@redhat.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs