diff options
author | Paolo Bonzini | 2018-02-06 18:24:13 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-02-13 16:15:09 +0100 |
commit | 0fe1eca7dcef4b0432c858d0eea32a84f014ddc5 (patch) | |
tree | 3916ed964cbd288ae2ee550a09286f885fd44ad2 /include/exec | |
parent | memory: remove memory_region_test_and_clear_dirty (diff) | |
download | qemu-0fe1eca7dcef4b0432c858d0eea32a84f014ddc5.tar.gz qemu-0fe1eca7dcef4b0432c858d0eea32a84f014ddc5.tar.xz qemu-0fe1eca7dcef4b0432c858d0eea32a84f014ddc5.zip |
memory: hide memory_region_sync_dirty_bitmap behind DirtyBitmapSnapshot
Simplify the users of memory_region_snapshot_and_clear_dirty, so
that they do not have to call memory_region_sync_dirty_bitmap
explicitly.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/memory.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index 6779d14a7b..fff9b1d871 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -1136,17 +1136,6 @@ bool memory_region_snapshot_get_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size); /** - * memory_region_sync_dirty_bitmap: Synchronize a region's dirty bitmap with - * any external TLBs (e.g. kvm) - * - * Flushes dirty information from accelerators such as kvm and vhost-net - * and makes it available to users of the memory API. - * - * @mr: the region being flushed. - */ -void memory_region_sync_dirty_bitmap(MemoryRegion *mr); - -/** * memory_region_reset_dirty: Mark a range of pages as clean, for a specified * client. * |