Skip to content
Commit 803c0816 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

memory: add getter for owner



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".
The owner is set at creation time, and there is a function to retrieve
the owner.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b7e95164
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment