aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 1a336374..89e1c85 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -287,7 +287,9 @@ typedef void (vfu_map_dma_cb_t) (void *pvt, uint64_t iova, uint64_t len);
typedef int (vfu_unmap_dma_cb_t) (void *pvt, uint64_t iova, uint64_t len);
/**
- * Setup device DMA map/unmap callbacks.
+ * Setup device DMA map/unmap callbacks. This will also enable bookkeeping of
+ * DMA regions received from client, otherwise they will be just acknowledged.
+ *
* @vfu_ctx: the libvfio-user context
* @map_dma: DMA region map callback (optional)
* @unmap_dma: DMA region unmap callback (optional)