This gets memory API consumption down to 4 FlatViews when non-virtio devices are in use. virtio still wastes memory due to the "modern_as".
Alexey Kardashevskiy (1): memory: Share special empty FlatView Paolo Bonzini (2): memory: trace FlatView creation and destruction memory: seek FlatView sharing candidates among children subregions include/exec/memory.h | 1 - include/qemu/typedefs.h | 1 + memory.c | 60 +++++++++++++++++++++++++++++++++++++++++++------ trace-events | 3 +++ 4 files changed, 57 insertions(+), 8 deletions(-) -- 2.13.5