diff options
author | Cédric Le Goater <clg@redhat.com> | 2025-02-06 14:14:32 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-02-11 14:15:19 +0100 |
commit | 80936cf7f38e55f41bf5b482ee04f055c76a0df0 (patch) | |
tree | 86d7717ead3d35f99821be3b8b43088c9f0a7806 /rust/qemu-api/src | |
parent | cdc6f2e0c9fcef2027f4fc5f25ddd15e36283e90 (diff) | |
download | qemu-80936cf7f38e55f41bf5b482ee04f055c76a0df0.zip qemu-80936cf7f38e55f41bf5b482ee04f055c76a0df0.tar.gz qemu-80936cf7f38e55f41bf5b482ee04f055c76a0df0.tar.bz2 |
vfio: Introduce vfio_get_vfio_device()
This helper will be useful in the listener handlers to extract the
VFIO device from a memory region using memory_region_owner(). At the
moment, we only care for PCI passthrough devices. If the need arises,
we will add more.
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250206131438.1505542-5-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions