Re: [PATCH 13/14] vfio: add device IO ops vector

2025-04-24 Thread Cédric Le Goater
On 4/9/25 15:48, John Levon wrote: For vfio-user, device operations such as IRQ handling and region read/writes are implemented in userspace over the control socket, not ioctl() or read()/write() to the vfio kernel driver; add an ops vector to generalize this, and implement vfio_device_io_ops_ioc

[PATCH 13/14] vfio: add device IO ops vector

2025-04-09 Thread John Levon
For vfio-user, device operations such as IRQ handling and region read/writes are implemented in userspace over the control socket, not ioctl() or read()/write() to the vfio kernel driver; add an ops vector to generalize this, and implement vfio_device_io_ops_ioctl for interacting with the kernel vf