summary refs log tree commit diff stats
path: root/hw/vfio/region.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/region.c')
-rw-r--r--hw/vfio/region.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/region.c b/hw/vfio/region.c
index 010b5241e1..04bf9eb098 100644
--- a/hw/vfio/region.c
+++ b/hw/vfio/region.c
@@ -185,7 +185,7 @@ int vfio_region_setup(Object *obj, VFIODevice *vbasedev, VFIORegion *region,
     g_autofree struct vfio_region_info *info = NULL;
     int ret;
 
-    ret = vfio_get_region_info(vbasedev, index, &info);
+    ret = vfio_device_get_region_info(vbasedev, index, &info);
     if (ret) {
         return ret;
     }