Skip to content
  • Max Reitz's avatar
    block: Add bdrv_open_image() · da557aac
    Max Reitz authored
    
    
    Add a common function for opening images to be used for block drivers
    specified through BlockdevRefs in an option QDict. The difference from
    bdrv_file_open() is that this function may invoke bdrv_open() instead,
    allowing auto-detection of the driver to be used; and second, it
    automatically extracts the BlockdevRef from the option QDict.
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    da557aac