Skip to content
  • Paolo Bonzini's avatar
    3ebb1817
    memory: unify loops to sync dirty log bitmap · 3ebb1817
    Paolo Bonzini authored
    
    
    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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    3ebb1817
    memory: unify loops to sync dirty log bitmap
    Paolo Bonzini authored
    
    
    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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading