Struct memflow_kvm_ioctl::vm_map_info
source · #[repr(C)]pub struct vm_map_info {
pub slot_count: __u32,
pub slots: *mut vm_memslot,
}
Expand description
@brief structure describing memory layout of the mapped virtual machine
Fields§
§slot_count: __u32
Number of memory slots that were allocated. After MEMFLOW_MAP_VM ioctl - number of slots that were mapped in the VM
slots: *mut vm_memslot
The mapped memory slots, sorted by base address. Slots only include the regions that were mapped in, so the first, and the last slots may not be the full KVM memslots, if not everything is mapped in
Trait Implementations§
source§impl Clone for vm_map_info
impl Clone for vm_map_info
source§fn clone(&self) -> vm_map_info
fn clone(&self) -> vm_map_info
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_map_info
impl Debug for vm_map_info
source§impl Default for vm_map_info
impl Default for vm_map_info
impl Copy for vm_map_info
Auto Trait Implementations§
impl RefUnwindSafe for vm_map_info
impl !Send for vm_map_info
impl !Sync for vm_map_info
impl Unpin for vm_map_info
impl UnwindSafe for vm_map_info
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