mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
vfio_user: Add flags for DMA_UNMAP command
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
91e2601523
commit
874d524a13
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user