diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-05-26 14:20:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 14:20:47 +0100 |
commit | aee8c0fc124827241ebbe355e3ef737593142e1a (patch) | |
tree | c19a754059ae42f47be14cb32602570a1a528ca2 /include/vfio-user.h | |
parent | 0a04aeae6ae904762c3abafb8de9708a9728d503 (diff) | |
download | libvfio-user-aee8c0fc124827241ebbe355e3ef737593142e1a.zip libvfio-user-aee8c0fc124827241ebbe355e3ef737593142e1a.tar.gz libvfio-user-aee8c0fc124827241ebbe355e3ef737593142e1a.tar.bz2 |
support VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP (#521)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'include/vfio-user.h')
-rw-r--r-- | include/vfio-user.h | 3 |
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[]; |