diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2021-08-27 13:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 13:18:53 +0200 |
commit | 080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0 (patch) | |
tree | 5d920a8a71aa57f088aba9a6f881c71121866f69 /include | |
parent | 2ed612697e8fde14e9995cc1ac4dd5143ae8e0b7 (diff) | |
download | libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.zip libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.tar.gz libvfio-user-080e664ed5e79dcf5ae5a36521cab0ddb7ebc5f0.tar.bz2 |
Add support for VFIO_DMA_UNMAP_FLAG_ALL flag (#600)
* Add support for VFIO_DMA_UNMAP_FLAG_ALL flag
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'include')
-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 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; |