Struct memflow_kvm_ioctl::vm_memslot
source · #[repr(C)]pub struct vm_memslot {
pub base: __u64,
pub host_base: __u64,
pub map_size: __u64,
}
Expand description
@brief structure describing a guest to host memory mapping
Fields§
§base: __u64
Base physical address in the guest
host_base: __u64
Host virtual address where the guest base resides in
map_size: __u64
Size of the mapping
Trait Implementations§
source§impl Clone for vm_memslot
impl Clone for vm_memslot
source§fn clone(&self) -> vm_memslot
fn clone(&self) -> vm_memslot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for vm_memslot
impl Debug for vm_memslot
source§impl Default for vm_memslot
impl Default for vm_memslot
source§fn default() -> vm_memslot
fn default() -> vm_memslot
Returns the “default value” for a type. Read more
impl Copy for vm_memslot
Auto Trait Implementations§
impl RefUnwindSafe for vm_memslot
impl Send for vm_memslot
impl Sync for vm_memslot
impl Unpin for vm_memslot
impl UnwindSafe for vm_memslot
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