qemu-img: adding a "-F base_fmt" option to "qemu-img create -b" (Uri Lublin)
commit9230eaf6797ffce465aef2a6c5b26d605c162a24
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 17:55:19 +0000 (28 17:55 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 17:55:19 +0000 (28 17:55 +0000)
tree7ab0a286bd63e6715cc7eb13b6e6921464055ce8
parentf965509c9ee8635c66dbf4342a9c67c222951bc3
qemu-img: adding a "-F base_fmt" option to "qemu-img create -b" (Uri Lublin)

If the user specifies the backing file format,
then when opening the backing file, there is no need
to probe the (backing file) image to figure out its format.

This follows my previous patches implementing bdrv_create2
which keeps (for qcow2 only) the backing file format
as a qcow2-extension

Suggested by Daniel P. Berrange.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6910 c046a42c-6fe2-441c-8c8c-71466251a162
qemu-img.c
qemu-img.texi