memory: hide memory_region_sync_dirty_bitmap behind DirtyBitmapSnapshot
commit0fe1eca7dcef4b0432c858d0eea32a84f014ddc5
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Feb 2018 17:24:13 +0000 (6 18:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 15:15:09 +0000 (13 16:15 +0100)
tree3916ed964cbd288ae2ee550a09286f885fd44ad2
parent77302fb5df05ffca9f41b5b54e3b67c601719d57
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>
hw/display/cg3.c
hw/display/exynos4210_fimd.c
hw/display/framebuffer.c
hw/display/g364fb.c
hw/display/sm501.c
hw/display/tcx.c
hw/display/vga.c
include/exec/memory.h
memory.c