Skip to content
  • Kevin Wolf's avatar
    1f0c461b
    block: Remove BlockDriverState.blk · 1f0c461b
    Kevin Wolf authored
    
    
    This patch removes the remaining users of bs->blk, which will allow us
    to have multiple BBs on top of a single BDS. In the meantime, all checks
    that are currently in place to prevent the user from creating such
    setups can be switched to bdrv_has_blk() instead of accessing BDS.blk.
    
    Future patches can allow them and e.g. enable users to mirror to a block
    device that already has a BlockBackend on it.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
    1f0c461b
    block: Remove BlockDriverState.blk
    Kevin Wolf authored
    
    
    This patch removes the remaining users of bs->blk, which will allow us
    to have multiple BBs on top of a single BDS. In the meantime, all checks
    that are currently in place to prevent the user from creating such
    setups can be switched to bdrv_has_blk() instead of accessing BDS.blk.
    
    Future patches can allow them and e.g. enable users to mirror to a block
    device that already has a BlockBackend on it.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Loading