]> git.proxmox.com Git - mirror_qemu.git/commit
memory: unify loops to sync dirty log bitmap
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Feb 2018 16:55:27 +0000 (17:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Feb 2018 15:15:09 +0000 (16:15 +0100)
commit3ebb1817b387804bd5e21f49ca538db74b09a2b0
treef0b2ddf2ec12d4dafca45a119b9d2d79ac864a63
parent0fe1eca7dcef4b0432c858d0eea32a84f014ddc5
memory: unify loops to sync dirty log bitmap

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 registered with the dirty page logging mechanism.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c