« Previous | Next » 

Revision 803c0816

ID803c0816a7d3ab35460991ba5b7d1fccc070332b

Added by Paolo Bonzini almost 11 years ago

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: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences