aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2017-09-21 18:51:04 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-21 23:19:38 +0200
commit967dc9b1194a9281124b2e1ce67b6c3359a2138f (patch)
treec4a43ebddfafe78437e1b1fb7a0073132734eee2 /monitor.c
parent02218487649558ed66c3689d4cc55250a42601d8 (diff)
downloadqemu-967dc9b1194a9281124b2e1ce67b6c3359a2138f.zip
qemu-967dc9b1194a9281124b2e1ce67b6c3359a2138f.tar.gz
qemu-967dc9b1194a9281124b2e1ce67b6c3359a2138f.tar.bz2
memory: Share FlatView's and dispatch trees between address spaces
This allows sharing flat views between address spaces (AS) when the same root memory region is used when creating a new address space. This is done by walking through all ASes and caching one FlatView per a physical root MR (i.e. not aliased). This removes search for duplicates from address_space_init_shareable() as FlatViews are shared elsewhere and keeping as::ref_count correct seems an unnecessary and useless complication. This should cause no change and memory use or boot time yet. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-Id: <20170921085110.25598-13-aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions