diff options
| author | Peter Crosthwaite | 2014-06-06 08:15:52 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-07-01 10:20:41 +0200 |
| commit | b4fefef9d52003b6d09866501275a9a57995c6b0 (patch) | |
| tree | 6d9c67e1e535afd09aa7d37609f4871d0ce3ec8b /include/exec/exec-all.h | |
| parent | memory: MemoryRegion: use /machine as default owner (diff) | |
| download | qemu-b4fefef9d52003b6d09866501275a9a57995c6b0.tar.gz qemu-b4fefef9d52003b6d09866501275a9a57995c6b0.tar.xz qemu-b4fefef9d52003b6d09866501275a9a57995c6b0.zip | |
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
