]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: add read/write to device IO ops vector
authorJohn Levon <john.levon@nutanix.com>
Wed, 7 May 2025 15:20:17 +0000 (16:20 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 9 May 2025 10:42:28 +0000 (12:42 +0200)
commit776066ac90a2b57fedb6b0186b30c5a9e9e1c9bd
treeedc4315943aa210821739cacf40f17f95e23a50a
parent95cdb024515b107e2574c5cbef0a43cafa0db77f
vfio: add read/write to device IO ops vector

Now we have the region info cache, add ->region_read/write device I/O
operations instead of explicit pread()/pwrite() system calls.

Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-13-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/device.c
hw/vfio/pci.c
hw/vfio/region.c
include/hw/vfio/vfio-device.h