1QA output created by 031 2 3===== Testing with -o compat=0.10 ===== 4 5=== Create image with unknown header extension === 6 7Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 8magic 0x514649fb 9version 2 10backing_file_offset 0x0 11backing_file_size 0x0 12cluster_bits 16 13size 67108864 14crypt_method 0 15l1_size 1 16l1_table_offset 0x30000 17refcount_table_offset 0x10000 18refcount_table_clusters 1 19nb_snapshots 0 20snapshot_offset 0x0 21incompatible_features 0x0 22compatible_features 0x0 23autoclear_features 0x0 24refcount_order 4 25header_length 72 26 27Header extension: 28magic 0x12345678 29length 31 30data 'This is a test header extension' 31 32No errors were found on the image. 33 34=== Rewrite header with no backing file === 35 36magic 0x514649fb 37version 2 38backing_file_offset 0x0 39backing_file_size 0x0 40cluster_bits 16 41size 67108864 42crypt_method 0 43l1_size 1 44l1_table_offset 0x30000 45refcount_table_offset 0x10000 46refcount_table_clusters 1 47nb_snapshots 0 48snapshot_offset 0x0 49incompatible_features 0x0 50compatible_features 0x0 51autoclear_features 0x0 52refcount_order 4 53header_length 72 54 55Header extension: 56magic 0x12345678 57length 31 58data 'This is a test header extension' 59 60No errors were found on the image. 61 62=== Add a backing file and format === 63 64magic 0x514649fb 65version 2 66backing_file_offset 0x90 67backing_file_size 0x17 68cluster_bits 16 69size 67108864 70crypt_method 0 71l1_size 1 72l1_table_offset 0x30000 73refcount_table_offset 0x10000 74refcount_table_clusters 1 75nb_snapshots 0 76snapshot_offset 0x0 77incompatible_features 0x0 78compatible_features 0x0 79autoclear_features 0x0 80refcount_order 4 81header_length 72 82 83Header extension: 84magic 0xe2792aca 85length 11 86data 'host_device' 87 88Header extension: 89magic 0x12345678 90length 31 91data 'This is a test header extension' 92 93 94===== Testing with -o compat=1.1 ===== 95 96=== Create image with unknown header extension === 97 98Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 99magic 0x514649fb 100version 3 101backing_file_offset 0x0 102backing_file_size 0x0 103cluster_bits 16 104size 67108864 105crypt_method 0 106l1_size 1 107l1_table_offset 0x30000 108refcount_table_offset 0x10000 109refcount_table_clusters 1 110nb_snapshots 0 111snapshot_offset 0x0 112incompatible_features 0x0 113compatible_features 0x0 114autoclear_features 0x0 115refcount_order 4 116header_length 104 117 118Header extension: 119magic 0x6803f857 120length 192 121data <binary> 122 123Header extension: 124magic 0x12345678 125length 31 126data 'This is a test header extension' 127 128No errors were found on the image. 129 130=== Rewrite header with no backing file === 131 132magic 0x514649fb 133version 3 134backing_file_offset 0x0 135backing_file_size 0x0 136cluster_bits 16 137size 67108864 138crypt_method 0 139l1_size 1 140l1_table_offset 0x30000 141refcount_table_offset 0x10000 142refcount_table_clusters 1 143nb_snapshots 0 144snapshot_offset 0x0 145incompatible_features 0x0 146compatible_features 0x0 147autoclear_features 0x0 148refcount_order 4 149header_length 104 150 151Header extension: 152magic 0x6803f857 153length 192 154data <binary> 155 156Header extension: 157magic 0x12345678 158length 31 159data 'This is a test header extension' 160 161No errors were found on the image. 162 163=== Add a backing file and format === 164 165magic 0x514649fb 166version 3 167backing_file_offset 0x178 168backing_file_size 0x17 169cluster_bits 16 170size 67108864 171crypt_method 0 172l1_size 1 173l1_table_offset 0x30000 174refcount_table_offset 0x10000 175refcount_table_clusters 1 176nb_snapshots 0 177snapshot_offset 0x0 178incompatible_features 0x0 179compatible_features 0x0 180autoclear_features 0x0 181refcount_order 4 182header_length 104 183 184Header extension: 185magic 0xe2792aca 186length 11 187data 'host_device' 188 189Header extension: 190magic 0x6803f857 191length 192 192data <binary> 193 194Header extension: 195magic 0x12345678 196length 31 197data 'This is a test header extension' 198 199*** done 200