summaryrefslogtreecommitdiffstats
path: root/test-qmp-commands.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-09 17:34:32 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:43 +0200
commit54688b1ec1f468c7272b837ff57298068aaedf5f (patch)
treefcab2c1f03137f97b0913c89046ff42c3c094123 /test-qmp-commands.c
parent50c1e1491e1981ecba14a477897681d8d0602500 (diff)
downloadhqemu-54688b1ec1f468c7272b837ff57298068aaedf5f.zip
hqemu-54688b1ec1f468c7272b837ff57298068aaedf5f.tar.gz
memory: change memory registration to rebuild the memory map on each change
Instead of incrementally building the memory map, rebuild it every time. This allows later simplification, since the code need not consider overlaying a previous mapping. It is also RCU friendly. With large memory guests this can get expensive, since the operation is O(mem size), but this will be optimized later. As a side effect subpage and L2 leaks are fixed here. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'test-qmp-commands.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud