Skip to content
  • Hanna Reitz's avatar
    dcf3f9b2
    block: Use CAFs when working with backing chains · dcf3f9b2
    Hanna Reitz authored
    
    
    Use child access functions when iterating through backing chains so
    filters do not break the chain.
    
    In addition, bdrv_find_overlay() will now always return the actual
    overlay; that is, it will never return a filter node but only one with a
    COW backing file (there may be filter nodes between that node and @bs).
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    dcf3f9b2
    block: Use CAFs when working with backing chains
    Hanna Reitz authored
    
    
    Use child access functions when iterating through backing chains so
    filters do not break the chain.
    
    In addition, bdrv_find_overlay() will now always return the actual
    overlay; that is, it will never return a filter node but only one with a
    COW backing file (there may be filter nodes between that node and @bs).
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Loading