mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
bab2eda6ad
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
4 lines
162 B
Plaintext
4 lines
162 B
Plaintext
qemu-img convert -f raw -O qcow2 \
|
|
-o encryption=on,preallocation=metadata,compat=0.10 \
|
|
/var/lib/libvirt/images/sparse.img /var/lib/libvirt/images/OtherDemo.img
|