Function hypervisor::kvm::set_user_memory_region
source · unsafe fn set_user_memory_region(
kvm: &KvmVm,
slot: MemSlot,
read_only: bool,
log_dirty_pages: bool,
cache: MemCacheType,
guest_addr: u64,
memory_size: u64,
userspace_addr: *mut u8
) -> Result<()>