diff options
| author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:51:21 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
| commit | e218ccf0c94b6fe26b333e2bdad87da85fe1c428 (patch) | |
| tree | c98785730b1a15e4056fca136693117aa6fc5ec8 /hw/vfio/display.c | |
| parent | 11b8b9d53d8b30bf1823e9d2e303c28fe13acf34 (diff) | |
| download | focaccia-qemu-e218ccf0c94b6fe26b333e2bdad87da85fe1c428.tar.gz focaccia-qemu-e218ccf0c94b6fe26b333e2bdad87da85fe1c428.zip | |
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>
Diffstat (limited to 'hw/vfio/display.c')
| -rw-r--r-- | hw/vfio/display.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/vfio/display.c b/hw/vfio/display.c index 70cfd685bd..f3e6581f15 100644 --- a/hw/vfio/display.c +++ b/hw/vfio/display.c @@ -129,10 +129,10 @@ static bool vfio_display_edid_init(VFIOPCIDevice *vdev, Error **errp) int fd = vdev->vbasedev.fd; int ret; - ret = vfio_get_dev_region_info(&vdev->vbasedev, - VFIO_REGION_TYPE_GFX, - VFIO_REGION_SUBTYPE_GFX_EDID, - &dpy->edid_info); + ret = vfio_device_get_region_info_type(&vdev->vbasedev, + VFIO_REGION_TYPE_GFX, + VFIO_REGION_SUBTYPE_GFX_EDID, + &dpy->edid_info); if (ret) { /* Failed to get GFX edid info, allow to go through without edid. */ return true; |