aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vfio-user.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vfio-user.h b/include/vfio-user.h
index 3994abc..fa3aba8 100644
--- a/include/vfio-user.h
+++ b/include/vfio-user.h
@@ -119,6 +119,9 @@ struct vfio_user_dma_region {
uint64_t size;
uint64_t offset;
uint32_t prot;
+#ifndef VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP
+#define VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP (1 << 0)
+#endif
#define VFIO_USER_F_DMA_REGION_MAPPABLE (1 << 0)
uint32_t flags;
struct vfio_user_bitmap bitmap[];