Struct memflow_kvm_ioctl::vm_info
source · #[repr(C)]pub struct vm_info {
pub userspace_pid: __kernel_pid_t,
pub slot_count: __u32,
pub slots: *mut vm_memslot,
}
Expand description
@brief structure describing the virtual machine
Fields§
§userspace_pid: __kernel_pid_t
PID of userspace VM monitor.
slot_count: __u32
Number of memory slots allocated by userspace. After MEMFLOW_VM_INFO ioctl - number of slots in the VM
slots: *mut vm_memslot
The memory slots, sorted by base address
Trait Implementations§
impl Copy for vm_info
Auto Trait Implementations§
impl RefUnwindSafe for vm_info
impl !Send for vm_info
impl !Sync for vm_info
impl Unpin for vm_info
impl UnwindSafe for vm_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