Function panda_sys::memory_region_unref [−][src]
pub unsafe extern "C" fn memory_region_unref(mr: *mut MemoryRegion)
Expand description
memory_region_unref: Remove 1 to a memory region’s reference count
Whenever memory regions are accessed outside the BQL, they need to be preserved against hot-unplug. MemoryRegions actually do not have their own reference count; they piggyback on a QOM object, their “owner”. This function removes a reference to the owner and possibly destroys it.
@mr: the #MemoryRegion