Skip to content
Snippets Groups Projects
  • Eric Blake's avatar
    d51a814c
    vmdk: Add trivial backing_fmt support · d51a814c
    Eric Blake authored
    
    vmdk already requires that if backing_file is present, that it be
    another vmdk image (see vmdk_co_do_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
    vmdk 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-5-eblake@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    d51a814c
    History
    vmdk: Add trivial backing_fmt support
    Eric Blake authored
    
    vmdk already requires that if backing_file is present, that it be
    another vmdk image (see vmdk_co_do_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
    vmdk 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-5-eblake@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
vmdk.c 96.81 KiB