]> git.proxmox.com Git - qemu.git/commit
memory: add a readonly attribute to MemoryRegionSection
authorAvi Kivity <avi@redhat.com>
Wed, 8 Feb 2012 15:01:23 +0000 (17:01 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 29 Feb 2012 11:44:41 +0000 (13:44 +0200)
commit7a8499e88bffff66d90300d4f2018c938543b1cf
tree122dff224622832fc30fd57608d43f536542f8f7
parent80a1ea3748203b840d8bad488ada4d6f5bb66c9d
memory: add a readonly attribute to MemoryRegionSection

.readonly cannot be obtained from the MemoryRegion, since it is
inherited from aliases (so you can have a MemoryRegion mapped RW
at one address and RO at another).  Record it in a MemoryRegionSection
for listeners.

Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
memory.c
memory.h