From 080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0 Mon Sep 17 00:00:00 2001 From: Swapnil Ingle Date: Fri, 27 Aug 2021 13:18:53 +0200 Subject: Add support for VFIO_DMA_UNMAP_FLAG_ALL flag (#600) * Add support for VFIO_DMA_UNMAP_FLAG_ALL flag Signed-off-by: Swapnil Ingle Reviewed-by: John Levon --- include/vfio-user.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/vfio-user.h b/include/vfio-user.h index 0aca789..b5e8962 100644 --- a/include/vfio-user.h +++ b/include/vfio-user.h @@ -133,6 +133,9 @@ struct vfio_user_dma_unmap { #ifndef VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP #define VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP (1 << 0) #endif +#ifndef VFIO_DMA_UNMAP_FLAG_ALL +#define VFIO_DMA_UNMAP_FLAG_ALL (1 << 1) +#endif uint32_t flags; uint64_t addr; uint64_t size; -- cgit v1.1