summary refs log tree commit diff stats
path: root/hw/vfio/helpers.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:50:59 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commitd158ed092332d8c79193921112ea5e7b5e62cd6d (patch)
tree21ca75691a6b95727b776d40584ce210df2f2f7e /hw/vfio/helpers.c
parent0778f9b3bef0438530e1dd0d277571405637d880 (diff)
downloadfocaccia-qemu-d158ed092332d8c79193921112ea5e7b5e62cd6d.tar.gz
focaccia-qemu-d158ed092332d8c79193921112ea5e7b5e62cd6d.zip
vfio: Move VFIOAddressSpace helpers into container-base.c
VFIOAddressSpace is a common object used by VFIOContainerBase which is
declared in "hw/vfio/vfio-container-base.h". Move the VFIOAddressSpace
related services into "container-base.c".

While at it, rename :

  vfio_get_address_space -> vfio_address_space_get
  vfio_put_address_space -> vfio_address_space_put

to better reflect the namespace these routines belong to.

Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-15-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions