• Max Reitz's avatar
    block: Allow recursive "file"s · 505d7583
    Max Reitz authored
    It should be possible to use a format as a driver for a file which in
    turn requires another file, i.e., nesting file formats.
    Allowing nested file formats results in e.g. qcow2 BlockDriverStates
    never being directly passed to bdrv_open_common() from bdrv_file_open(),
    but instead being handed through bdrv_open(). This changes the error
    message when trying to give a filename to qcow2, i.e. trying to use it
    as a driver for the protocol level. Therefore, change the reference
    output of I/O test 051 accordingly.
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
block.c 139 KB