commit | 3d8e6bf97781a8415fd08ba1770269e1332c200c | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jul 26 14:26:03 2011 +0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Jul 29 08:25:42 2011 -0500 |
tree | 2fa132f25c57a53e1034f9efef3e03f37cbe03f2 | |
parent | 5a583347697413f964d886b074860cb888c0e306 [diff] |
memory: merge adjacent segments of a single memory region Simple implementations of memory routers, for example the Cirrus VGA memory banks or the 440FX PAM registers can generate adjacent memory regions which are contiguous. Detect these and merge them; this saves kvm memory slots and shortens lookup times. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>