]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Rename VFIODevice related services
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:51:21 +0000 (08:51 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commite218ccf0c94b6fe26b333e2bdad87da85fe1c428
treec98785730b1a15e4056fca136693117aa6fc5ec8
parent11b8b9d53d8b30bf1823e9d2e303c28fe13acf34
vfio: Rename VFIODevice related services

Rename these routines :

  vfio_disable_irqindex       -> vfio_device_irq_disable
  vfio_unmask_single_irqindex -> vfio_device_irq_unmask
  vfio_mask_single_irqindex   -> vfio_device_irq_mask
  vfio_set_irq_signaling      -> vfio_device_irq_set_signaling
  vfio_attach_device          -> vfio_device_attach
  vfio_detach_device          -> vfio_device_detach
  vfio_get_region_info        -> vfio_device_get_region_info
  vfio_get_dev_region_info    -> vfio_device_get_region_info_type
  vfio_has_region_cap         -> vfio_device_has_region_cap
  vfio_reset_handler          -> vfio_device_reset_hander

to better reflect the namespace they belong to.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-37-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
12 files changed:
hw/vfio/ap.c
hw/vfio/ccw.c
hw/vfio/container-base.c
hw/vfio/container.c
hw/vfio/device.c
hw/vfio/display.c
hw/vfio/igd.c
hw/vfio/pci.c
hw/vfio/platform.c
hw/vfio/region.c
hw/vfio/trace-events
include/hw/vfio/vfio-device.h