vfio_user: Add flags for DMA_UNMAP command

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2023-02-07 17:44:38 +00:00 committed by Bo Chen
parent 91e2601523
commit 874d524a13

View File

@ -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)]