Struct vmm_vhost::VhostUserMemoryRegionInfo
source · pub struct VhostUserMemoryRegionInfo {
pub guest_phys_addr: u64,
pub memory_size: u64,
pub userspace_addr: u64,
pub mmap_offset: u64,
pub mmap_handle: RawDescriptor,
}Expand description
Memory region configuration data.
Fields§
§guest_phys_addr: u64Guest physical address of the memory region.
memory_size: u64Size of the memory region.
userspace_addr: u64Virtual address in the current process.
mmap_offset: u64Offset where region starts in the mapped memory.
mmap_handle: RawDescriptorFile descriptor for mmap.
Auto Trait Implementations§
impl Freeze for VhostUserMemoryRegionInfo
impl RefUnwindSafe for VhostUserMemoryRegionInfo
impl Send for VhostUserMemoryRegionInfo
impl Sync for VhostUserMemoryRegionInfo
impl Unpin for VhostUserMemoryRegionInfo
impl UnwindSafe for VhostUserMemoryRegionInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more