]> xenbits.xensource.com Git - libvirt.git/commit
Always specify qcow2 compat level on qemu-img command line
authorJán Tomko <jtomko@redhat.com>
Tue, 20 Aug 2013 15:37:08 +0000 (17:37 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 27 Aug 2013 10:45:58 +0000 (12:45 +0200)
commitbab2eda6ada1bf832decdc64cc5062e54eb105df
tree5d58314fe392c9fcf1b368deaba11ac93b7e0b93
parent9eb444364e5afca1e02448c48e0cb4ce36bf65db
Always specify qcow2 compat level on qemu-img command line

qemu-img is going to switch the default for QCOW2
to QCOW2v3 (compat=1.1)

Extend the probing for qemu-img command line options to check
if -o compat is supported. If the volume definition specifies
the qcow2 format but no compat level and -o compat is supported,
specify -o compat=0.10 to create a QCOW2v2 image.

https://bugzilla.redhat.com/show_bug.cgi?id=997977
src/storage/storage_backend.c
tests/storagevolxml2argvdata/qcow2-compat.argv [new file with mode: 0644]
tests/storagevolxml2argvdata/qcow2-from-logical-compat.argv [new file with mode: 0644]
tests/storagevolxml2argvdata/qcow2-nobacking-convert-prealloc-compat.argv [new file with mode: 0644]
tests/storagevolxml2argvdata/qcow2-nobacking-prealloc-compat.argv [new file with mode: 0644]
tests/storagevolxml2argvtest.c