summaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-29 12:30:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:50 +0200
commit6092666ebdc68b2634db050689292c71a5c368c0 (patch)
treede3d614f3c0d694152e72eb882c0066b8436c124 /kvm-all.c
parent0475d94fffe4e5fda59e0334b6dd53df00c5deb6 (diff)
downloadqemu-6092666ebdc68b2634db050689292c71a5c368c0.tar.gz
exec: remove cur_map
cur_map is not used anymore; instead, each AddressSpaceDispatch has its own nodes/sections pair. The priorities of the MemoryListeners, and in the future RCU, guarantee that the nodes/sections are not freed while they are still in use. (In fact, next_map itself is not needed except to free the data on the next update). To avoid incorrect use, replace cur_map with a temporary copy that is only valid while the topology is being updated. If you use it, the name prev_map makes it clear that you're doing something weird. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kvm-all.c')
0 files changed, 0 insertions, 0 deletions