summaryrefslogtreecommitdiff
path: root/hw/device-hotplug.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-13 20:45:32 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:45 +0200
commit07f07b31e57efa6e4f563802136ffa1694a2692b (patch)
tree08279523676b35f6ab07c76d0c5914fcdec8d45b /hw/device-hotplug.c
parentc19e8800d4a9c019299cc9232b4e628469a81d2d (diff)
downloadqemu-07f07b31e57efa6e4f563802136ffa1694a2692b.zip
memory: allow phys_map tree paths to terminate early
When storing large contiguous ranges in phys_map, all values tend to be the same pointers to a single MemoryRegionSection. Collapse them by marking nodes with level > 0 as leaves. This reduces tree memory usage dramatically. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/device-hotplug.c')
0 files changed, 0 insertions, 0 deletions