Re: [Qemu-devel] [PATCH 4/4] memory: unify loops to sync dirty log bitmap

2018-02-09 Thread Richard Henderson
On 02/09/2018 02:45 AM, Paolo Bonzini wrote: > Now that memory_region_sync_dirty_bitmap is NULL, we can unify its > loop with memory_global_dirty_log_sync's. The only difference is > that memory_region_sync_dirty_bitmap will no longer call log_sync on > FlatRanges that do have a zero dirty_log_mas

[Qemu-devel] [PATCH 4/4] memory: unify loops to sync dirty log bitmap

2018-02-09 Thread Paolo Bonzini
Now that memory_region_sync_dirty_bitmap is NULL, we can unify its loop with memory_global_dirty_log_sync's. The only difference is that memory_region_sync_dirty_bitmap will no longer call log_sync on FlatRanges that do have a zero dirty_log_mask, but this is okay because video memory is always re