]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/remote: update libvfio-user subproject
authorJohn Levon <john.levon@nutanix.com>
Wed, 22 Apr 2026 14:02:44 +0000 (15:02 +0100)
committerCédric Le Goater <clg@redhat.com>
Wed, 20 May 2026 13:05:20 +0000 (15:05 +0200)
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>
hw/remote/vfio-user-obj.c
subprojects/libvfio-user.wrap

index 49bf5ecae0c44c6a9432fefceec964139b5fb309..87fa7b65722e4d917481bd1bd8116cfd39b98261 100644 (file)
@@ -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);
index 416955ca4515c7da8080986681f69629046a749b..11db795f8abe9bf86e0405651970160629ed3f30 100644 (file)
@@ -1,4 +1,4 @@
 [wrap-git]
 url = https://gitlab.com/qemu-project/libvfio-user.git
-revision = 0b28d205572c80b568a1003db2c8f37ca333e4d7
+revision = 4d9f663450fa80ff375612dbbafe073700e3d3d8
 depth = 1