diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-24 10:46:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-05-24 18:42:51 +0200 |
commit | 1d671369c3f8eb2b5dfd0e1709688faba9b85f95 (patch) | |
tree | c424569dc8f547f9088b5d4e5678fede99f38d17 /memory.c | |
parent | 5553e3a5c95f4a842489384a2fafb27d7555a4ef (diff) | |
download | qemu-1d671369c3f8eb2b5dfd0e1709688faba9b85f95.tar.gz qemu-1d671369c3f8eb2b5dfd0e1709688faba9b85f95.tar.bz2 qemu-1d671369c3f8eb2b5dfd0e1709688faba9b85f95.zip |
memory: make memory_global_sync_dirty_bitmap take an AddressSpace
Since this is a MemoryListener operation, it only makes sense
on an AddressSpace granularity.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1485,9 +1485,8 @@ MemoryRegionSection memory_region_find(MemoryRegion *mr, return ret; } -void memory_global_sync_dirty_bitmap(MemoryRegion *address_space) +void address_space_sync_dirty_bitmap(AddressSpace *as) { - AddressSpace *as = memory_region_to_address_space(address_space); FlatRange *fr; FOR_EACH_FLAT_RANGE(fr, as->current_map) { |