mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vfio_user: Add flags for DMA_UNMAP command
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user