diff --git a/vfio_user/src/lib.rs b/vfio_user/src/lib.rs index f3b9a78ad..4ba37022b 100644 --- a/vfio_user/src/lib.rs +++ b/vfio_user/src/lib.rs @@ -97,6 +97,11 @@ bitflags! { const WRITE_ONLY = 1 << 1; const READ_WRITE = Self::READ_ONLY.bits | Self::WRITE_ONLY.bits; } + + struct DmaUnmapFlags: u32 { + const GET_DIRTY_PAGE_INFO = 1 << 1; + const UNMAP_ALL = 1 << 2; + } } #[repr(C)]