diff options
author | John Levon <john.levon@nutanix.com> | 2025-05-07 16:20:15 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-05-09 12:42:28 +0200 |
commit | 38bf025d0dc80c1ae6e8f36093c5145c08b332d9 (patch) | |
tree | 85c771572c9be99ba04d5fc5503d7e66d0140fc6 /rust/qemu-api-macros | |
parent | 9458d9b4dc6a9d1c51772fc8a29a48ab47521430 (diff) | |
download | qemu-38bf025d0dc80c1ae6e8f36093c5145c08b332d9.zip qemu-38bf025d0dc80c1ae6e8f36093c5145c08b332d9.tar.gz qemu-38bf025d0dc80c1ae6e8f36093c5145c08b332d9.tar.bz2 |
vfio: add device IO ops vector
For vfio-user, device operations such as IRQ handling and region
read/writes are implemented in userspace over the control socket, not
ioctl() to the vfio kernel driver; add an ops vector to generalize this,
and implement vfio_device_io_ops_ioctl for interacting with the kernel
vfio driver.
Originally-by: John Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-11-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions