Home
last modified time | relevance | path

Searched hist:b4fefef9d52003b6d09866501275a9a57995c6b0 (Results 1 – 1 of 1) sorted by relevance

/qemu/system/
H A Dmemory.cb4fefef9d52003b6d09866501275a9a57995c6b0 Fri Jun 06 06:15:52 UTC 2014 Peter Crosthwaite <peter.crosthwaite@xilinx.com> memory: MemoryRegion: QOMify

QOMify memory regions as an Object. The former init() and destroy()
routines become instance_init() and instance_finalize() resp.

memory_region_init() is re-implemented to be:
object_initialize() + set fields

memory_region_destroy() is re-implemented to call unparent().

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[Add newly-created MR as child, unparent on destruction. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>