]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: MemoryRegion: Add container and addr props
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 6 Jun 2014 06:16:27 +0000 (23:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Jul 2014 08:20:41 +0000 (10:20 +0200)
commit409ddd0139c101f813d16e8ebaa7c7d4b4afb96e
tree7ae366754ebb46297b8ba8656464c47902ff3ca0
parent22a893e4f55344f96e1aafc66f5fedc491a5ca97
memory: MemoryRegion: Add container and addr props

Expose the already existing .parent and .addr fields as QOM properties.
.parent (i.e. the field describing the memory region that contains this
one in Memory hierachy) is renamed "container". This is to avoid
confusion with the QOM parent.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[Remove setters.  Do not unref parent on releasing the property. Clean
 up error propagation. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c