Struct vmm_vhost::backend::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: u64
Guest physical address of the memory region.
memory_size: u64
Size of the memory region.
userspace_addr: u64
Virtual address in the current process.
mmap_offset: u64
Offset where region starts in the mapped memory.
mmap_handle: RawDescriptor
File descriptor for mmap.
Auto Trait Implementations§
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