diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-12-09 12:23:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 12:23:39 +0000 |
commit | 190dcbde2872b57600088606785b75259b69efce (patch) | |
tree | f3d2b8e4fa691017ba51d164663ded3abc777a83 /lib | |
parent | 7056525da5399d00831e90bed4aedb4b8442c9b2 (diff) | |
download | libvfio-user-190dcbde2872b57600088606785b75259b69efce.zip libvfio-user-190dcbde2872b57600088606785b75259b69efce.tar.gz libvfio-user-190dcbde2872b57600088606785b75259b69efce.tar.bz2 |
allow DMA funcs to be called in quiesced state (#635)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libvfio-user.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libvfio-user.c b/lib/libvfio-user.c index 0a61f13..f1c99ec 100644 --- a/lib/libvfio-user.c +++ b/lib/libvfio-user.c @@ -1983,8 +1983,6 @@ vfu_map_sg(vfu_ctx_t *vfu_ctx, dma_sg_t *sg, struct iovec *iov, int cnt, return ERROR_INT(EINVAL); } - assert(vfu_ctx->pending.state != VFU_CTX_PENDING_MSG); - ret = dma_map_sg(vfu_ctx->dma, sg, iov, cnt); if (ret < 0) { return -1; |