Re: [RFC 5/9] VFIO: Extend external user API

2014-08-27 Thread Eric Auger
On 08/26/2014 09:02 PM, Alex Williamson wrote: > On Mon, 2014-08-25 at 15:27 +0200, Eric Auger wrote: >> New functions are added to be called from ARM KVM-VFIO device. >> >> - vfio_device_get_external_user enables to get a vfio device from >> its fd >> - vfio_device_put_external_user puts the vfi

Re: [RFC 5/9] VFIO: Extend external user API

2014-08-26 Thread Alex Williamson
On Mon, 2014-08-25 at 15:27 +0200, Eric Auger wrote: > New functions are added to be called from ARM KVM-VFIO device. > > - vfio_device_get_external_user enables to get a vfio device from > its fd > - vfio_device_put_external_user puts the vfio device > - vfio_external_get_type enables to retrie

[RFC 5/9] VFIO: Extend external user API

2014-08-25 Thread Eric Auger
New functions are added to be called from ARM KVM-VFIO device. - vfio_device_get_external_user enables to get a vfio device from its fd - vfio_device_put_external_user puts the vfio device - vfio_external_get_type enables to retrieve the type of the device (PCI or platform) - vfio_external_get