Commit 79aef0356d for qemu.org
commit 79aef0356d066ef9da4cd0c9bc49ebc2ff5998b2
Author: John Levon <john.levon@nutanix.com>
Date: Wed Apr 22 15:02:44 2026 +0100
hw/remote: update libvfio-user subproject
The currently wrapped version of libvfio-user has compilation issues on
newer compilers; bump the library version.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20260422140244.2147400-1-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/hw/remote/vfio-user-obj.c b/hw/remote/vfio-user-obj.c
index 49bf5ecae0..87fa7b6572 100644
--- a/hw/remote/vfio-user-obj.c
+++ b/hw/remote/vfio-user-obj.c
@@ -800,7 +800,8 @@ static void vfu_object_init_ctx(VfuObject *o, Error **errp)
goto fail;
}
- ret = vfu_setup_device_dma(o->vfu_ctx, &dma_register, &dma_unregister);
+ ret = vfu_setup_device_dma(o->vfu_ctx, LIBVFIO_USER_MAX_DMA_REGIONS,
+ &dma_register, &dma_unregister);
if (ret < 0) {
error_setg(errp, "vfu: Failed to setup DMA handlers for %s",
o->device);
diff --git a/subprojects/libvfio-user.wrap b/subprojects/libvfio-user.wrap
index 416955ca45..11db795f8a 100644
--- a/subprojects/libvfio-user.wrap
+++ b/subprojects/libvfio-user.wrap
@@ -1,4 +1,4 @@
[wrap-git]
url = https://gitlab.com/qemu-project/libvfio-user.git
-revision = 0b28d205572c80b568a1003db2c8f37ca333e4d7
+revision = 4d9f663450fa80ff375612dbbafe073700e3d3d8
depth = 1