aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libvfio-user.h3
-rw-r--r--include/vfio-user.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 9c2628a..e05cacf 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -340,8 +340,7 @@ vfu_setup_device_reset_cb(vfu_ctx_t *vfu_ctx, vfu_reset_cb_t *reset);
/*
* Info for a guest DMA region. @iova is always valid; the other parameters
- * will only be set if the guest DMA region is VFIO_USER_F_DMA_REGION_MAPPABLE,
- * and a file descriptor has been passed across the vfio-user socket.
+ * will only be set if the guest DMA region is mappable.
*
* @iova: guest DMA range. This is the guest physical range (as we don't
* support vIOMMU) that the guest registers for DMA, via a VFIO_USER_DMA_MAP
diff --git a/include/vfio-user.h b/include/vfio-user.h
index 43f6877..0aca789 100644
--- a/include/vfio-user.h
+++ b/include/vfio-user.h
@@ -121,7 +121,6 @@ struct vfio_user_dma_map {
uint32_t argsz;
#define VFIO_USER_F_DMA_REGION_READ (1 << 0)
#define VFIO_USER_F_DMA_REGION_WRITE (1 << 1)
-#define VFIO_USER_F_DMA_REGION_MAPPABLE (1 << 2)
uint32_t flags;
uint64_t offset;
uint64_t addr;