aboutsummaryrefslogtreecommitdiff
path: root/kmod
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-02-25 11:35:01 -0500
committerThanos <tmakatos@gmail.com>2020-02-28 11:06:47 +0000
commitb541abe8480605e162f69265076d3ddcc5a5ff73 (patch)
treeb58740ecf21676622d544c3737ecd6a001b9fc64 /kmod
parent4af9ad8d3428d49ff0a7d668441d47eb5b7be89a (diff)
downloadlibvfio-user-b541abe8480605e162f69265076d3ddcc5a5ff73.zip
libvfio-user-b541abe8480605e162f69265076d3ddcc5a5ff73.tar.gz
libvfio-user-b541abe8480605e162f69265076d3ddcc5a5ff73.tar.bz2
improve readability of messages about memory ranges
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'kmod')
-rw-r--r--kmod/muser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kmod/muser.c b/kmod/muser.c
index 796b6b1..edb6c77 100644
--- a/kmod/muser.c
+++ b/kmod/muser.c
@@ -733,7 +733,8 @@ static int muser_iommu_dma_unmap(struct muser_dev *const mudev,
len = dma_map->length;
err = muser_process_dma_unmap(mudev, dma_map);
if (unlikely(err))
- muser_dbg("failed to request libmuser to munmap: %d", err);
+ muser_dbg("failed to request libmuser to munmap iova=%#llx-%#llx: %d",
+ unmap->iova, unmap->size, err);
kfree(dma_map);