1a33cc31dSKevin WolfQA output created by 082 2a33cc31dSKevin Wolf 3a33cc31dSKevin Wolf=== create: Options specified more than once === 4a33cc31dSKevin Wolf 5a33cc31dSKevin WolfTesting: create -f foo -f qcow2 TEST_DIR/t.qcow2 128M 60cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16 71b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT 81b53eab2SMax Reitzfile format: IMGFMT 9a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 10a33cc31dSKevin Wolfcluster_size: 65536 11a33cc31dSKevin Wolf 12a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 128M 130cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=4096 lazy_refcounts=on refcount_bits=16 14d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT 15d1103231SMichael Muellerfile format: IMGFMT 16a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 17a33cc31dSKevin Wolfcluster_size: 4096 18a33cc31dSKevin WolfFormat specific information: 19a33cc31dSKevin Wolf compat: 1.1 20a33cc31dSKevin Wolf lazy refcounts: true 210709c5a1SMax Reitz refcount bits: 16 229009b196SMax Reitz corrupt: false 23a33cc31dSKevin Wolf 24a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 128M 250cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=on refcount_bits=16 26d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT 27d1103231SMichael Muellerfile format: IMGFMT 28a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 29a33cc31dSKevin Wolfcluster_size: 8192 30a33cc31dSKevin WolfFormat specific information: 31a33cc31dSKevin Wolf compat: 1.1 32a33cc31dSKevin Wolf lazy refcounts: true 330709c5a1SMax Reitz refcount bits: 16 349009b196SMax Reitz corrupt: false 35a33cc31dSKevin Wolf 36a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M 370cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=8192 lazy_refcounts=off refcount_bits=16 381b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT 391b53eab2SMax Reitzfile format: IMGFMT 40a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 41a33cc31dSKevin Wolfcluster_size: 8192 42a33cc31dSKevin Wolf 43a33cc31dSKevin Wolf=== create: help for -o === 44a33cc31dSKevin Wolf 45a33cc31dSKevin WolfTesting: create -f qcow2 -o help TEST_DIR/t.qcow2 128M 46a33cc31dSKevin WolfSupported options: 47a33cc31dSKevin Wolfsize Virtual disk size 48a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 49a33cc31dSKevin Wolfbacking_file File name of a base image 50a33cc31dSKevin Wolfbacking_fmt Image format of the base image 510cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 524652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 534652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 544652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 554652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 564652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 574652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 584652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 594652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 60a33cc31dSKevin Wolfcluster_size qcow2 cluster size 610e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 62a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 6306d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 644ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 65a33cc31dSKevin Wolf 66a33cc31dSKevin WolfTesting: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M 67a33cc31dSKevin WolfSupported options: 68a33cc31dSKevin Wolfsize Virtual disk size 69a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 70a33cc31dSKevin Wolfbacking_file File name of a base image 71a33cc31dSKevin Wolfbacking_fmt Image format of the base image 720cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 734652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 744652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 754652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 764652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 774652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 784652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 794652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 804652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 81a33cc31dSKevin Wolfcluster_size qcow2 cluster size 820e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 83a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 8406d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 854ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 86a33cc31dSKevin Wolf 87a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M 88a33cc31dSKevin WolfSupported options: 89a33cc31dSKevin Wolfsize Virtual disk size 90a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 91a33cc31dSKevin Wolfbacking_file File name of a base image 92a33cc31dSKevin Wolfbacking_fmt Image format of the base image 930cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 944652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 954652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 964652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 974652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 984652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 994652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 1004652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 1014652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 102a33cc31dSKevin Wolfcluster_size qcow2 cluster size 1030e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 104a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 10506d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 1064ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 107a33cc31dSKevin Wolf 108a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M 109a33cc31dSKevin WolfSupported options: 110a33cc31dSKevin Wolfsize Virtual disk size 111a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 112a33cc31dSKevin Wolfbacking_file File name of a base image 113a33cc31dSKevin Wolfbacking_fmt Image format of the base image 1140cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 1154652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 1164652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 1174652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 1184652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 1194652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 1204652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 1214652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 1224652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 123a33cc31dSKevin Wolfcluster_size qcow2 cluster size 1240e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 125a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 12606d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 1274ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 128a33cc31dSKevin Wolf 129a33cc31dSKevin WolfTesting: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M 130a33cc31dSKevin WolfSupported options: 131a33cc31dSKevin Wolfsize Virtual disk size 132a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 133a33cc31dSKevin Wolfbacking_file File name of a base image 134a33cc31dSKevin Wolfbacking_fmt Image format of the base image 1350cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 1364652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 1374652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 1384652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 1394652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 1404652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 1414652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 1424652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 1434652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 144a33cc31dSKevin Wolfcluster_size qcow2 cluster size 1450e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 146a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 14706d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 1484ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 149a33cc31dSKevin Wolf 150a33cc31dSKevin WolfTesting: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M 151a33cc31dSKevin WolfSupported options: 152a33cc31dSKevin Wolfsize Virtual disk size 153a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 154a33cc31dSKevin Wolfbacking_file File name of a base image 155a33cc31dSKevin Wolfbacking_fmt Image format of the base image 1560cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 1574652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 1584652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 1594652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 1604652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 1614652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 1624652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 1634652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 1644652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 165a33cc31dSKevin Wolfcluster_size qcow2 cluster size 1660e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 167a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 16806d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 1694ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 170a33cc31dSKevin Wolf 171a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 128M 172a33cc31dSKevin WolfSupported options: 173a33cc31dSKevin Wolfsize Virtual disk size 174a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 175a33cc31dSKevin Wolfbacking_file File name of a base image 176a33cc31dSKevin Wolfbacking_fmt Image format of the base image 1770cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 1784652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 1794652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 1804652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 1814652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 1824652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 1834652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 1844652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 1854652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 186a33cc31dSKevin Wolfcluster_size qcow2 cluster size 1870e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 188a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 18906d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 1904ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 191a33cc31dSKevin Wolf 192a33cc31dSKevin WolfTesting: create -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 128M 193a33cc31dSKevin WolfSupported options: 194a33cc31dSKevin Wolfsize Virtual disk size 195a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 196a33cc31dSKevin Wolfbacking_file File name of a base image 197a33cc31dSKevin Wolfbacking_fmt Image format of the base image 1980cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 1994652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 2004652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 2014652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 2024652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 2034652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 2044652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 2054652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 2064652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 207a33cc31dSKevin Wolfcluster_size qcow2 cluster size 2080e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 209a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 21006d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 2114ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 212a33cc31dSKevin Wolf 2136e6e55f5SJohn SnowTesting: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 128M 2140cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,help cluster_size=65536 lazy_refcounts=off refcount_bits=16 215a33cc31dSKevin Wolf 2166e6e55f5SJohn SnowTesting: create -f qcow2 -u -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 128M 2170cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 backing_file=TEST_DIR/t.qcow2,,? cluster_size=65536 lazy_refcounts=off refcount_bits=16 218a33cc31dSKevin Wolf 219a33cc31dSKevin WolfTesting: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 128M 220a33cc31dSKevin Wolfqemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, 221a33cc31dSKevin Wolf 222a33cc31dSKevin WolfTesting: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 128M 223a33cc31dSKevin Wolfqemu-img: Invalid option list: ,help 224a33cc31dSKevin Wolf 225a33cc31dSKevin WolfTesting: create -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 128M 226a33cc31dSKevin Wolfqemu-img: Invalid option list: ,, 227a33cc31dSKevin Wolf 228a33cc31dSKevin WolfTesting: create -f qcow2 -o help 229a33cc31dSKevin WolfSupported options: 230a33cc31dSKevin Wolfsize Virtual disk size 231a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 232a33cc31dSKevin Wolfbacking_file File name of a base image 233a33cc31dSKevin Wolfbacking_fmt Image format of the base image 2340cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 2354652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 2364652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 2374652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 2384652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 2394652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 2404652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 2414652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 2424652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 243a33cc31dSKevin Wolfcluster_size qcow2 cluster size 2440e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 245a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 24606d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 247a33cc31dSKevin Wolf 248a33cc31dSKevin WolfTesting: create -o help 249a33cc31dSKevin WolfSupported options: 250a33cc31dSKevin Wolfsize Virtual disk size 251a33cc31dSKevin Wolf 252*e53995ebSMax ReitzTesting: create -f bochs -o help 253*e53995ebSMax Reitzqemu-img: Format driver 'bochs' does not support image creation 254*e53995ebSMax Reitz 255a33cc31dSKevin Wolf=== convert: Options specified more than once === 256a33cc31dSKevin Wolf 257a33cc31dSKevin WolfTesting: create -f qcow2 TEST_DIR/t.qcow2 128M 2580cb8d47bSDaniel P. BerrangeFormatting 'TEST_DIR/t.qcow2', fmt=qcow2 size=134217728 cluster_size=65536 lazy_refcounts=off refcount_bits=16 259a33cc31dSKevin Wolf 260a33cc31dSKevin WolfTesting: convert -f foo -f qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 2611b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT.base 262a33cc31dSKevin Wolffile format: raw 263a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 264a33cc31dSKevin Wolf 265a33cc31dSKevin WolfTesting: convert -O foo -O qcow2 TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 2661b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT.base 2671b53eab2SMax Reitzfile format: IMGFMT 268a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 269a33cc31dSKevin Wolfcluster_size: 65536 270a33cc31dSKevin Wolf 271a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 272d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT.base 273d1103231SMichael Muellerfile format: IMGFMT 274a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 275a33cc31dSKevin Wolfcluster_size: 4096 276a33cc31dSKevin WolfFormat specific information: 277a33cc31dSKevin Wolf compat: 1.1 278a33cc31dSKevin Wolf lazy refcounts: true 2790709c5a1SMax Reitz refcount bits: 16 2809009b196SMax Reitz corrupt: false 281a33cc31dSKevin Wolf 282a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 283d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT.base 284d1103231SMichael Muellerfile format: IMGFMT 285a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 286a33cc31dSKevin Wolfcluster_size: 8192 287a33cc31dSKevin WolfFormat specific information: 288a33cc31dSKevin Wolf compat: 1.1 289a33cc31dSKevin Wolf lazy refcounts: true 2900709c5a1SMax Reitz refcount bits: 16 2919009b196SMax Reitz corrupt: false 292a33cc31dSKevin Wolf 293a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 2941b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT.base 2951b53eab2SMax Reitzfile format: IMGFMT 296a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 297a33cc31dSKevin Wolfcluster_size: 8192 298a33cc31dSKevin Wolf 299a33cc31dSKevin Wolf=== convert: help for -o === 300a33cc31dSKevin Wolf 301a33cc31dSKevin WolfTesting: convert -O qcow2 -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 302a33cc31dSKevin WolfSupported options: 303a33cc31dSKevin Wolfsize Virtual disk size 304a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 305a33cc31dSKevin Wolfbacking_file File name of a base image 306a33cc31dSKevin Wolfbacking_fmt Image format of the base image 3070cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 3084652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 3094652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 3104652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 3114652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 3124652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 3134652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 3144652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 3154652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 316a33cc31dSKevin Wolfcluster_size qcow2 cluster size 3170e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 318a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 31906d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 3204ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 321a33cc31dSKevin Wolf 322a33cc31dSKevin WolfTesting: convert -O qcow2 -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 323a33cc31dSKevin WolfSupported options: 324a33cc31dSKevin Wolfsize Virtual disk size 325a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 326a33cc31dSKevin Wolfbacking_file File name of a base image 327a33cc31dSKevin Wolfbacking_fmt Image format of the base image 3280cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 3294652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 3304652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 3314652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 3324652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 3334652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 3344652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 3354652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 3364652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 337a33cc31dSKevin Wolfcluster_size qcow2 cluster size 3380e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 339a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 34006d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 3414ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 342a33cc31dSKevin Wolf 343a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 344a33cc31dSKevin WolfSupported options: 345a33cc31dSKevin Wolfsize Virtual disk size 346a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 347a33cc31dSKevin Wolfbacking_file File name of a base image 348a33cc31dSKevin Wolfbacking_fmt Image format of the base image 3490cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 3504652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 3514652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 3524652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 3534652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 3544652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 3554652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 3564652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 3574652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 358a33cc31dSKevin Wolfcluster_size qcow2 cluster size 3590e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 360a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 36106d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 3624ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 363a33cc31dSKevin Wolf 364a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 365a33cc31dSKevin WolfSupported options: 366a33cc31dSKevin Wolfsize Virtual disk size 367a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 368a33cc31dSKevin Wolfbacking_file File name of a base image 369a33cc31dSKevin Wolfbacking_fmt Image format of the base image 3700cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 3714652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 3724652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 3734652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 3744652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 3754652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 3764652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 3774652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 3784652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 379a33cc31dSKevin Wolfcluster_size qcow2 cluster size 3800e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 381a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 38206d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 3834ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 384a33cc31dSKevin Wolf 385a33cc31dSKevin WolfTesting: convert -O qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 386a33cc31dSKevin WolfSupported options: 387a33cc31dSKevin Wolfsize Virtual disk size 388a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 389a33cc31dSKevin Wolfbacking_file File name of a base image 390a33cc31dSKevin Wolfbacking_fmt Image format of the base image 3910cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 3924652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 3934652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 3944652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 3954652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 3964652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 3974652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 3984652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 3994652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 400a33cc31dSKevin Wolfcluster_size qcow2 cluster size 4010e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 402a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 40306d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 4044ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 405a33cc31dSKevin Wolf 406a33cc31dSKevin WolfTesting: convert -O qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 407a33cc31dSKevin WolfSupported options: 408a33cc31dSKevin Wolfsize Virtual disk size 409a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 410a33cc31dSKevin Wolfbacking_file File name of a base image 411a33cc31dSKevin Wolfbacking_fmt Image format of the base image 4120cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 4134652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 4144652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 4154652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 4164652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 4174652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 4184652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 4194652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 4204652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 421a33cc31dSKevin Wolfcluster_size qcow2 cluster size 4220e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 423a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 42406d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 4254ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 426a33cc31dSKevin Wolf 427a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 428a33cc31dSKevin WolfSupported options: 429a33cc31dSKevin Wolfsize Virtual disk size 430a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 431a33cc31dSKevin Wolfbacking_file File name of a base image 432a33cc31dSKevin Wolfbacking_fmt Image format of the base image 4330cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 4344652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 4354652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 4364652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 4374652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 4384652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 4394652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 4404652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 4414652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 442a33cc31dSKevin Wolfcluster_size qcow2 cluster size 4430e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 444a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 44506d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 4464ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 447a33cc31dSKevin Wolf 448a33cc31dSKevin WolfTesting: convert -O qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 449a33cc31dSKevin WolfSupported options: 450a33cc31dSKevin Wolfsize Virtual disk size 451a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 452a33cc31dSKevin Wolfbacking_file File name of a base image 453a33cc31dSKevin Wolfbacking_fmt Image format of the base image 4540cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 4554652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 4564652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 4574652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 4584652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 4594652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 4604652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 4614652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 4624652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 463a33cc31dSKevin Wolfcluster_size qcow2 cluster size 4640e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 465a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 46606d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 4674ab15590SChunyan Liunocow Turn off copy-on-write (valid only on btrfs) 468a33cc31dSKevin Wolf 469a33cc31dSKevin WolfTesting: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 470a33cc31dSKevin Wolfqemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,help': No such file or directory 471a33cc31dSKevin Wolf 472a33cc31dSKevin WolfTesting: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 473a33cc31dSKevin Wolfqemu-img: Could not open 'TEST_DIR/t.qcow2.base': Could not open backing file: Could not open 'TEST_DIR/t.qcow2,?': No such file or directory 474a33cc31dSKevin Wolf 475a33cc31dSKevin WolfTesting: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 476a33cc31dSKevin Wolfqemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, 477a33cc31dSKevin Wolf 478a33cc31dSKevin WolfTesting: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 479a33cc31dSKevin Wolfqemu-img: Invalid option list: ,help 480a33cc31dSKevin Wolf 481a33cc31dSKevin WolfTesting: convert -O qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.base 482a33cc31dSKevin Wolfqemu-img: Invalid option list: ,, 483a33cc31dSKevin Wolf 484a33cc31dSKevin WolfTesting: convert -O qcow2 -o help 485a33cc31dSKevin WolfSupported options: 486a33cc31dSKevin Wolfsize Virtual disk size 487a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 488a33cc31dSKevin Wolfbacking_file File name of a base image 489a33cc31dSKevin Wolfbacking_fmt Image format of the base image 4900cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 4914652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 4924652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 4934652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 4944652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 4954652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 4964652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 4974652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 4984652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 499a33cc31dSKevin Wolfcluster_size qcow2 cluster size 5000e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 501a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 50206d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 503a33cc31dSKevin Wolf 504a33cc31dSKevin WolfTesting: convert -o help 505a33cc31dSKevin WolfSupported options: 506a33cc31dSKevin Wolfsize Virtual disk size 507a33cc31dSKevin Wolf 508*e53995ebSMax ReitzTesting: convert -O bochs -o help 509*e53995ebSMax Reitzqemu-img: Format driver 'bochs' does not support image creation 510*e53995ebSMax Reitz 511a33cc31dSKevin Wolf=== amend: Options specified more than once === 512a33cc31dSKevin Wolf 513a33cc31dSKevin WolfTesting: amend -f foo -f qcow2 -o lazy_refcounts=on TEST_DIR/t.qcow2 514d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT 515d1103231SMichael Muellerfile format: IMGFMT 516a33cc31dSKevin Wolfvirtual size: 128M (134217728 bytes) 517a33cc31dSKevin Wolfcluster_size: 65536 518a33cc31dSKevin WolfFormat specific information: 519a33cc31dSKevin Wolf compat: 1.1 520a33cc31dSKevin Wolf lazy refcounts: true 5210709c5a1SMax Reitz refcount bits: 16 5229009b196SMax Reitz corrupt: false 523a33cc31dSKevin Wolf 524a33cc31dSKevin WolfTesting: amend -f qcow2 -o size=130M -o lazy_refcounts=off TEST_DIR/t.qcow2 525d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT 526d1103231SMichael Muellerfile format: IMGFMT 527a33cc31dSKevin Wolfvirtual size: 130M (136314880 bytes) 528a33cc31dSKevin Wolfcluster_size: 65536 529a33cc31dSKevin WolfFormat specific information: 530a33cc31dSKevin Wolf compat: 1.1 531a33cc31dSKevin Wolf lazy refcounts: false 5320709c5a1SMax Reitz refcount bits: 16 5339009b196SMax Reitz corrupt: false 534a33cc31dSKevin Wolf 535a33cc31dSKevin WolfTesting: amend -f qcow2 -o size=8M -o lazy_refcounts=on -o size=132M TEST_DIR/t.qcow2 536d1103231SMichael Muellerimage: TEST_DIR/t.IMGFMT 537d1103231SMichael Muellerfile format: IMGFMT 538a33cc31dSKevin Wolfvirtual size: 132M (138412032 bytes) 539a33cc31dSKevin Wolfcluster_size: 65536 540a33cc31dSKevin WolfFormat specific information: 541a33cc31dSKevin Wolf compat: 1.1 542a33cc31dSKevin Wolf lazy refcounts: true 5430709c5a1SMax Reitz refcount bits: 16 5449009b196SMax Reitz corrupt: false 545a33cc31dSKevin Wolf 546a33cc31dSKevin WolfTesting: amend -f qcow2 -o size=4M,size=148M TEST_DIR/t.qcow2 5471b53eab2SMax Reitzimage: TEST_DIR/t.IMGFMT 5481b53eab2SMax Reitzfile format: IMGFMT 549a33cc31dSKevin Wolfvirtual size: 148M (155189248 bytes) 550a33cc31dSKevin Wolfcluster_size: 65536 551a33cc31dSKevin Wolf 552a33cc31dSKevin Wolf=== amend: help for -o === 553a33cc31dSKevin Wolf 554a33cc31dSKevin WolfTesting: amend -f qcow2 -o help TEST_DIR/t.qcow2 55551641351SMax ReitzCreation options for 'qcow2': 556a33cc31dSKevin Wolfsize Virtual disk size 557a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 558a33cc31dSKevin Wolfbacking_file File name of a base image 559a33cc31dSKevin Wolfbacking_fmt Image format of the base image 5600cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 5614652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 5624652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 5634652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 5644652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 5654652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 5664652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 5674652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 5684652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 569a33cc31dSKevin Wolfcluster_size qcow2 cluster size 5700e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 571a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 57206d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 57351641351SMax Reitz 57451641351SMax ReitzNote that not all of these options may be amendable. 575a33cc31dSKevin Wolf 576a33cc31dSKevin WolfTesting: amend -f qcow2 -o ? TEST_DIR/t.qcow2 57751641351SMax ReitzCreation options for 'qcow2': 578a33cc31dSKevin Wolfsize Virtual disk size 579a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 580a33cc31dSKevin Wolfbacking_file File name of a base image 581a33cc31dSKevin Wolfbacking_fmt Image format of the base image 5820cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 5834652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 5844652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 5854652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 5864652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 5874652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 5884652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 5894652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 5904652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 591a33cc31dSKevin Wolfcluster_size qcow2 cluster size 5920e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 593a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 59406d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 59551641351SMax Reitz 59651641351SMax ReitzNote that not all of these options may be amendable. 597a33cc31dSKevin Wolf 598a33cc31dSKevin WolfTesting: amend -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 59951641351SMax ReitzCreation options for 'qcow2': 600a33cc31dSKevin Wolfsize Virtual disk size 601a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 602a33cc31dSKevin Wolfbacking_file File name of a base image 603a33cc31dSKevin Wolfbacking_fmt Image format of the base image 6040cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 6054652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 6064652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 6074652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 6084652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 6094652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 6104652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 6114652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 6124652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 613a33cc31dSKevin Wolfcluster_size qcow2 cluster size 6140e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 615a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 61606d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 61751641351SMax Reitz 61851641351SMax ReitzNote that not all of these options may be amendable. 619a33cc31dSKevin Wolf 620a33cc31dSKevin WolfTesting: amend -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 62151641351SMax ReitzCreation options for 'qcow2': 622a33cc31dSKevin Wolfsize Virtual disk size 623a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 624a33cc31dSKevin Wolfbacking_file File name of a base image 625a33cc31dSKevin Wolfbacking_fmt Image format of the base image 6260cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 6274652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 6284652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 6294652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 6304652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 6314652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 6324652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 6334652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 6344652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 635a33cc31dSKevin Wolfcluster_size qcow2 cluster size 6360e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 637a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 63806d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 63951641351SMax Reitz 64051641351SMax ReitzNote that not all of these options may be amendable. 641a33cc31dSKevin Wolf 642a33cc31dSKevin WolfTesting: amend -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 64351641351SMax ReitzCreation options for 'qcow2': 644a33cc31dSKevin Wolfsize Virtual disk size 645a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 646a33cc31dSKevin Wolfbacking_file File name of a base image 647a33cc31dSKevin Wolfbacking_fmt Image format of the base image 6480cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 6494652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 6504652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 6514652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 6524652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 6534652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 6544652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 6554652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 6564652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 657a33cc31dSKevin Wolfcluster_size qcow2 cluster size 6580e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 659a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 66006d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 66151641351SMax Reitz 66251641351SMax ReitzNote that not all of these options may be amendable. 663a33cc31dSKevin Wolf 664a33cc31dSKevin WolfTesting: amend -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 66551641351SMax ReitzCreation options for 'qcow2': 666a33cc31dSKevin Wolfsize Virtual disk size 667a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 668a33cc31dSKevin Wolfbacking_file File name of a base image 669a33cc31dSKevin Wolfbacking_fmt Image format of the base image 6700cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 6714652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 6724652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 6734652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 6744652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 6754652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 6764652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 6774652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 6784652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 679a33cc31dSKevin Wolfcluster_size qcow2 cluster size 6800e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 681a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 68206d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 68351641351SMax Reitz 68451641351SMax ReitzNote that not all of these options may be amendable. 685a33cc31dSKevin Wolf 686a33cc31dSKevin WolfTesting: amend -f qcow2 -o cluster_size=4k -o help TEST_DIR/t.qcow2 68751641351SMax ReitzCreation options for 'qcow2': 688a33cc31dSKevin Wolfsize Virtual disk size 689a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 690a33cc31dSKevin Wolfbacking_file File name of a base image 691a33cc31dSKevin Wolfbacking_fmt Image format of the base image 6920cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 6934652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 6944652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 6954652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 6964652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 6974652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 6984652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 6994652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 7004652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 701a33cc31dSKevin Wolfcluster_size qcow2 cluster size 7020e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 703a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 70406d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 70551641351SMax Reitz 70651641351SMax ReitzNote that not all of these options may be amendable. 707a33cc31dSKevin Wolf 708a33cc31dSKevin WolfTesting: amend -f qcow2 -o cluster_size=4k -o ? TEST_DIR/t.qcow2 70951641351SMax ReitzCreation options for 'qcow2': 710a33cc31dSKevin Wolfsize Virtual disk size 711a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 712a33cc31dSKevin Wolfbacking_file File name of a base image 713a33cc31dSKevin Wolfbacking_fmt Image format of the base image 7140cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 7154652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 7164652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 7174652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 7184652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 7194652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 7204652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 7214652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 7224652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 723a33cc31dSKevin Wolfcluster_size qcow2 cluster size 7240e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 725a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 72606d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 72751641351SMax Reitz 72851641351SMax ReitzNote that not all of these options may be amendable. 729a33cc31dSKevin Wolf 730a33cc31dSKevin WolfTesting: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,help TEST_DIR/t.qcow2 731a33cc31dSKevin Wolf 732a33cc31dSKevin WolfTesting: rebase -u -b -f qcow2 TEST_DIR/t.qcow2 733a33cc31dSKevin Wolf 734a33cc31dSKevin WolfTesting: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2,,? TEST_DIR/t.qcow2 735a33cc31dSKevin Wolf 736a33cc31dSKevin WolfTesting: rebase -u -b -f qcow2 TEST_DIR/t.qcow2 737a33cc31dSKevin Wolf 738a33cc31dSKevin WolfTesting: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2, -o help TEST_DIR/t.qcow2 739a33cc31dSKevin Wolfqemu-img: Invalid option list: backing_file=TEST_DIR/t.qcow2, 740a33cc31dSKevin Wolf 741a33cc31dSKevin WolfTesting: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,help TEST_DIR/t.qcow2 742a33cc31dSKevin Wolfqemu-img: Invalid option list: ,help 743a33cc31dSKevin Wolf 744a33cc31dSKevin WolfTesting: amend -f qcow2 -o backing_file=TEST_DIR/t.qcow2 -o ,, -o help TEST_DIR/t.qcow2 745a33cc31dSKevin Wolfqemu-img: Invalid option list: ,, 746a33cc31dSKevin Wolf 747a33cc31dSKevin WolfTesting: amend -f qcow2 -o help 74851641351SMax ReitzCreation options for 'qcow2': 749a33cc31dSKevin Wolfsize Virtual disk size 750a33cc31dSKevin Wolfcompat Compatibility level (0.10 or 1.1) 751a33cc31dSKevin Wolfbacking_file File name of a base image 752a33cc31dSKevin Wolfbacking_fmt Image format of the base image 7530cb8d47bSDaniel P. Berrangeencryption Encrypt the image with format 'aes'. (Deprecated in favor of encrypt.format=aes) 7544652b8f3SDaniel P. Berrangeencrypt.format Encrypt the image, format choices: 'aes', 'luks' 7554652b8f3SDaniel P. Berrangeencrypt.key-secret ID of secret providing qcow AES key or LUKS passphrase 7564652b8f3SDaniel P. Berrangeencrypt.cipher-alg Name of encryption cipher algorithm 7574652b8f3SDaniel P. Berrangeencrypt.cipher-mode Name of encryption cipher mode 7584652b8f3SDaniel P. Berrangeencrypt.ivgen-alg Name of IV generator algorithm 7594652b8f3SDaniel P. Berrangeencrypt.ivgen-hash-alg Name of IV generator hash algorithm 7604652b8f3SDaniel P. Berrangeencrypt.hash-alg Name of encryption hash algorithm 7614652b8f3SDaniel P. Berrangeencrypt.iter-time Time to spend in PBKDF in milliseconds 762a33cc31dSKevin Wolfcluster_size qcow2 cluster size 7630e4271b7SHu Taopreallocation Preallocation mode (allowed values: off, metadata, falloc, full) 764a33cc31dSKevin Wolflazy_refcounts Postpone refcount updates 76506d05fa7SMax Reitzrefcount_bits Width of a reference count entry in bits 766a33cc31dSKevin Wolf 76751641351SMax ReitzNote that not all of these options may be amendable. 76851641351SMax Reitz 769a33cc31dSKevin WolfTesting: convert -o help 770a33cc31dSKevin WolfSupported options: 771a33cc31dSKevin Wolfsize Virtual disk size 772*e53995ebSMax Reitz 773*e53995ebSMax ReitzTesting: amend -f bochs -o help 774*e53995ebSMax Reitzqemu-img: Format driver 'bochs' does not support option amendment 775a33cc31dSKevin Wolf*** done 776