From 72a5fa139701e61e68199cda8f3dc77355a4b5e0 Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Mon, 11 Oct 2021 20:37:18 +0800 Subject: [PATCH] libvfio-user: update submodule Change-Id: I58794b7b946eeb8ff82512905af0a296e3b534aa Signed-off-by: Changpeng Liu Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9817 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: John Kariuki Reviewed-by: Ben Walker --- lib/nvmf/vfio_user.c | 4 ++++ libvfio-user | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/nvmf/vfio_user.c b/lib/nvmf/vfio_user.c index 3533751b1..15c85e055 100644 --- a/lib/nvmf/vfio_user.c +++ b/lib/nvmf/vfio_user.c @@ -2375,6 +2375,10 @@ vfio_user_poll_vfu_ctx(void *ctx) * to the portion of the BAR that is not mmap'd */ ret = vfu_run_ctx(ctrlr->endpoint->vfu_ctx); if (spdk_unlikely(ret == -1)) { + if (errno == EBUSY) { + return SPDK_POLLER_BUSY; + } + spdk_poller_unregister(&ctrlr->vfu_ctx_poller); /* initiator shutdown or reset, waiting for another re-connect */ diff --git a/libvfio-user b/libvfio-user index 46ed1dbd8..568429675 160000 --- a/libvfio-user +++ b/libvfio-user @@ -1 +1 @@ -Subproject commit 46ed1dbd8e692ee53a544022dd70151f21a4e725 +Subproject commit 56842967566dcf4b89514949a6e88ba89eeaf268