]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO
authorJohn Levon <john.levon@nutanix.com>
Wed, 25 Jun 2025 19:29:58 +0000 (20:29 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 26 Jun 2025 06:55:38 +0000 (08:55 +0200)
commit667866d66620e9f545eb3bd4f065d9ab81bda727
tree0ad72bcf68ed160a36ec5e058402f7803c6e37ee
parent3bdb738b734c77f93f93f8119c8f6ba8a9c5947c
vfio-user: implement VFIO_USER_DEVICE_GET_REGION_INFO

Add support for getting region info for vfio-user. As vfio-user has one
fd per region, enable ->use_region_fds.

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/20250625193012.2316242-7-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/device.c
hw/vfio-user/device.h
hw/vfio-user/pci.c
hw/vfio-user/protocol.h
hw/vfio-user/proxy.h
hw/vfio-user/trace-events