]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: add vfio_device_get_region_fd()
authorJohn Levon <john.levon@nutanix.com>
Mon, 16 Jun 2025 10:13:36 +0000 (03:13 -0700)
committerCédric Le Goater <clg@redhat.com>
Thu, 26 Jun 2025 06:55:37 +0000 (08:55 +0200)
commitb1f521de8b2f356f4ae7683c51aa8c3ba6c7931e
tree75a5b6012deb6f93f4b66aa68faa5a33e9d7647f
parent639ff87a1a823715f16edec34caacd8ef824fcfd
vfio: add vfio_device_get_region_fd()

This keeps the existence of ->region_fds private to hw/vfio/device.c.

Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/qemu-devel/20250616101337.3190027-1-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/device.c
hw/vfio/region.c
include/hw/vfio/vfio-device.h