Skip to content
  • Eric Blake's avatar
    80fa43e7
    sheepdog: Add trivial backing_fmt support · 80fa43e7
    Eric Blake authored
    
    
    Sheepdog already requires that if backing_file is present, that it be
    another sheepdog image (see sd_co_create).  Meanwhile, we want to move
    towards always being explicit about the backing format for other
    drivers where it matters.  So for convenience, make qemu-img create -F
    sheepdog work, while rejecting all other explicit formats (note that
    this is only for QemuOpts usage; there is no change to the QAPI to
    allow a format through -blockdev).
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20200706203954.341758-4-eblake@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    80fa43e7
    sheepdog: Add trivial backing_fmt support
    Eric Blake authored
    
    
    Sheepdog already requires that if backing_file is present, that it be
    another sheepdog image (see sd_co_create).  Meanwhile, we want to move
    towards always being explicit about the backing format for other
    drivers where it matters.  So for convenience, make qemu-img create -F
    sheepdog work, while rejecting all other explicit formats (note that
    this is only for QemuOpts usage; there is no change to the QAPI to
    allow a format through -blockdev).
    
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    Message-Id: <20200706203954.341758-4-eblake@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading