From 79aef0356d066ef9da4cd0c9bc49ebc2ff5998b2 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 22 Apr 2026 15:02:44 +0100 Subject: [PATCH] hw/remote: update libvfio-user subproject MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The currently wrapped version of libvfio-user has compilation issues on newer compilers; bump the library version. Signed-off-by: John Levon Reviewed-by: Jagannathan Raman Reviewed-by: Mark Cave-Ayland Link: https://lore.kernel.org/qemu-devel/20260422140244.2147400-1-john.levon@nutanix.com Signed-off-by: Cédric Le Goater --- hw/remote/vfio-user-obj.c | 3 ++- subprojects/libvfio-user.wrap | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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