• Max Reitz's avatar
    block: Allow block devices without files · 2a05cbe4
    Max Reitz authored
    blkdebug and blkverify will, in order to retain compatibility, not
    support the field "file" implicitly through bdrv_open(). In order to be
    able to use those drivers without giving a filename anyway, it is
    necessary to be able to have block devices without files implicitly
    opened by bdrv_open(). This is the case, if there was neither a file
    name, a reference to an existing block device to use as a file nor
    options specific to the file.
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    2a05cbe4
block.c 137 KB