mirror of
https://github.com/mii443/qemu.git
synced 2025-12-12 05:18:37 +00:00
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>
This commit is contained in:
@@ -83,7 +83,6 @@ void framebuffer_update_display(
|
||||
if (!mem) {
|
||||
return;
|
||||
}
|
||||
memory_region_sync_dirty_bitmap(mem);
|
||||
|
||||
addr = mem_section->offset_within_region;
|
||||
src = memory_region_get_ram_ptr(mem) + addr;
|
||||
|
||||
Reference in New Issue
Block a user