Re: [PATCH v5 1/3] VFIO: Wrapper for getting reference to vfio_device from device

2013-02-25 Thread Alex Williamson
On Sat, 2013-02-23 at 23:25 -0600, Vijay Mohan Pandarathil wrote: > - Added vfio_device_get_from_dev() as wrapper to get > reference to vfio_device from struct device. > > - Added vfio_device_data() as a wrapper to get device_data from > vfio_device. > > Signed-off

[PATCH v5 1/3] VFIO: Wrapper for getting reference to vfio_device from device

2013-02-23 Thread Vijay Mohan Pandarathil
- Added vfio_device_get_from_dev() as wrapper to get reference to vfio_device from struct device. - Added vfio_device_data() as a wrapper to get device_data from vfio_device. Signed-off-by: Vijay Mohan Pandarathil --- drivers/vfio/vfio.c | 47 +++