Skip to content
  • Paolo Bonzini's avatar
    memory: add getter for owner · 803c0816
    Paolo Bonzini authored
    
    
    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>
    803c0816