vfio: pass an opaque pointer on virqfd initialization
vfio: pass an opaque pointer on virqfd initialization

VFIO_PCI passes the VFIO device structure *vdev via eventfd to the handler
that implements masking/unmasking of IRQs via an eventfd. We can replace
it in the virqfd infrastructure with an opaque type so we can make use
of the mechanism from other VFIO bus drivers.

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