• K
    block: Introduce BDRV_O_NO_BACKING · b783e409
    Kevin Wolf 提交于
    If an image references a backing file that doesn't exist, qemu-img info fails
    to open this image. Exactly in this case the info would be valuable, though:
    the user might want to find out which file is missing.
    
    This patch introduces a BDRV_O_NO_BACKING flag to ignore the backing file when
    opening the image. qemu-img info is the first user and provides info now even
    if the backing file is invalid.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    b783e409
block.h 8.6 KB