• K
    block: Remove BlockDriverState.blk · 1f0c461b
    Kevin Wolf 提交于
    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: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    1f0c461b
block_int.h 28.6 KB