qemu-img: adding a "-F base_fmt" option to "qemu-img create -b"kvm-83-12.el5ovirt
commit2c7c1728da1a293eb1022b1a6f656840f1f1c50b
authorUri Lublin <uril@redhat.com>
Tue, 3 Mar 2009 14:27:27 +0000 (3 16:27 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 3 Mar 2009 21:47:46 +0000 (3 18:47 -0300)
tree5696e85e32c526ab8336e6c34efe846fb665a49e
parent3580d3070b8bc67dea242cf9d9a1ae3a94277a07
qemu-img: adding a "-F base_fmt" option to "qemu-img create -b"

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 patch 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: Eduardo Habkost <ehabkost@redhat.com>
RH-Upstream-status: pending
Bugzilla: 484080
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Dor Laor <dlaor@redhat.com>
qemu/qemu-img.c
qemu/qemu-img.texi