Function kvm::set_user_memory_region
source · pub(crate) unsafe fn set_user_memory_region<F: AsRawDescriptor>(
fd: &F,
slot: u32,
read_only: bool,
log_dirty_pages: bool,
guest_addr: u64,
memory_size: u64,
userspace_addr: *mut u8
) -> Result<()>