diff options
author | Peter Crosthwaite | 2014-06-06 08:17:01 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-07-01 10:20:41 +0200 |
commit | d33382da9abe21cb42f26b55945845b56ce9324a (patch) | |
tree | 5b68134e26126b8563ac5cfc93a619bf225238fe /include | |
parent | memory: MemoryRegion: Add container and addr props (diff) | |
download | qemu-d33382da9abe21cb42f26b55945845b56ce9324a.tar.gz qemu-d33382da9abe21cb42f26b55945845b56ce9324a.tar.xz qemu-d33382da9abe21cb42f26b55945845b56ce9324a.zip |
memory: MemoryRegion: Add may-overlap and priority props
QOM propertyify the .may-overlap and .priority fields. The setters
will re-add the memory as a subregion if needed (i.e. the values change
when the memory region is already contained).
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[Remove setters. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index 0c7e825822..e2c8e3e0a6 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -157,7 +157,7 @@ struct MemoryRegion { bool flush_coalesced_mmio; MemoryRegion *alias; hwaddr alias_offset; - int priority; + int32_t priority; bool may_overlap; QTAILQ_HEAD(subregions, MemoryRegion) subregions; QTAILQ_ENTRY(MemoryRegion) subregions_link; |