2013-09-03 10:09:55 +02:00
|
|
|
QA output created by 061
|
|
|
|
|
|
|
|
=== Testing version downgrade with zero expansion ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features [0]
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
2015-12-02 18:34:39 +01:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2015-12-02 18:34:39 +01:00
|
|
|
data <binary>
|
|
|
|
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
2018-02-05 15:33:38 +01:00
|
|
|
=== Testing version downgrade with zero expansion and 4K cache entries ===
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 131072/131072 bytes at offset 33554432
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
128 KiB (0x20000) bytes allocated at offset 0 bytes (0x0)
|
|
|
|
31.875 MiB (0x1fe0000) bytes not allocated at offset 128 KiB (0x20000)
|
|
|
|
128 KiB (0x20000) bytes allocated at offset 32 MiB (0x2000000)
|
|
|
|
31.875 MiB (0x1fe0000) bytes not allocated at offset 32.125 MiB (0x2020000)
|
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features [0]
|
|
|
|
autoclear_features []
|
2018-02-05 15:33:38 +01:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2018-02-05 15:33:38 +01:00
|
|
|
data <binary>
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2018-02-05 15:33:38 +01:00
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 131072/131072 bytes at offset 33554432
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
64 MiB (0x4000000) bytes not allocated at offset 0 bytes (0x0)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
2013-09-03 10:09:55 +02:00
|
|
|
=== Testing dirty version downgrade ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 11:11:19 +02:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features [0]
|
|
|
|
compatible_features [0]
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
2015-12-02 18:34:39 +01:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2015-12-02 18:34:39 +01:00
|
|
|
data <binary>
|
|
|
|
|
2014-10-22 14:09:42 +02:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
|
|
|
ERROR cluster 6 refcount=0 reference=1
|
|
|
|
Rebuilding refcount structure
|
|
|
|
Repairing cluster 1 refcount=1 reference=0
|
|
|
|
Repairing cluster 2 refcount=1 reference=0
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
2014-10-22 14:09:42 +02:00
|
|
|
refcount_table_offset 0x80000
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing version downgrade with unknown compat/autoclear flags ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features [42]
|
|
|
|
autoclear_features [42]
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
2015-12-02 18:34:39 +01:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2015-12-02 18:34:39 +01:00
|
|
|
data <binary>
|
|
|
|
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing version upgrade and resize ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 65536/65536 bytes at offset 44040192
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 134217728
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features [0]
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2013-09-03 10:09:55 +02:00
|
|
|
data <binary>
|
|
|
|
|
|
|
|
read 65536/65536 bytes at offset 44040192
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing dirty lazy_refcounts=off ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 11:11:19 +02:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features [0]
|
|
|
|
compatible_features [0]
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
2015-12-02 18:34:39 +01:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2015-12-02 18:34:39 +01:00
|
|
|
data <binary>
|
|
|
|
|
2014-10-22 14:09:42 +02:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
|
|
|
ERROR cluster 6 refcount=0 reference=1
|
|
|
|
Rebuilding refcount structure
|
|
|
|
Repairing cluster 1 refcount=1 reference=0
|
|
|
|
Repairing cluster 2 refcount=1 reference=0
|
2013-09-03 10:09:55 +02:00
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
2014-10-22 14:09:42 +02:00
|
|
|
refcount_table_offset 0x80000
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2019-11-07 17:36:49 +01:00
|
|
|
incompatible_features []
|
|
|
|
compatible_features []
|
|
|
|
autoclear_features []
|
2013-09-03 10:09:55 +02:00
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2019-01-14 16:48:25 +01:00
|
|
|
length 192
|
2013-09-03 10:09:55 +02:00
|
|
|
data <binary>
|
|
|
|
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing backing file ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing invalid configurations ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2015-07-27 17:51:33 +02:00
|
|
|
qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
|
|
|
|
qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
|
|
|
|
qemu-img: Unknown compatibility level 0.42
|
2014-06-05 11:20:51 +02:00
|
|
|
qemu-img: Invalid parameter 'foo'
|
2015-07-27 17:51:33 +02:00
|
|
|
qemu-img: Changing the cluster size is not supported
|
|
|
|
qemu-img: Changing the encryption flag is not supported
|
|
|
|
qemu-img: Cannot change preallocation mode
|
2013-09-03 10:09:55 +02:00
|
|
|
|
|
|
|
=== Testing correct handling of unset value ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
Should work:
|
|
|
|
Should not work:
|
2015-07-27 17:51:33 +02:00
|
|
|
qemu-img: Changing the cluster size is not supported
|
2013-09-03 10:09:55 +02:00
|
|
|
|
|
|
|
=== Testing zero expansion on inactive clusters ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
2013-09-05 10:55:54 +02:00
|
|
|
=== Testing zero expansion on shared L2 table ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-05 10:55:54 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
2013-09-03 10:09:55 +02:00
|
|
|
=== Testing zero expansion on backed image ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2015-07-07 16:42:10 +02:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
|
2013-09-03 10:09:55 +02:00
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 65536/65536 bytes at offset 65536
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
|
|
|
=== Testing zero expansion on backed inactive clusters ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2015-07-07 16:42:10 +02:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
|
2013-09-03 10:09:55 +02:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
read 65536/65536 bytes at offset 65536
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2013-09-05 10:55:54 +02:00
|
|
|
|
|
|
|
=== Testing zero expansion on backed image with shared L2 table ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
|
2013-09-05 10:55:54 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2015-07-07 16:42:10 +02:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
|
2013-09-05 10:55:54 +02:00
|
|
|
wrote 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 131072/131072 bytes at offset 0
|
|
|
|
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2013-09-25 12:07:23 +02:00
|
|
|
|
|
|
|
=== Testing preallocated zero expansion on full image ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2013-09-25 12:07:23 +02:00
|
|
|
wrote 67108864/67108864 bytes at offset 0
|
|
|
|
64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 67108864/67108864 bytes at offset 0
|
|
|
|
64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
No errors were found on the image.
|
|
|
|
read 67108864/67108864 bytes at offset 0
|
|
|
|
64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2014-10-27 11:12:56 +01:00
|
|
|
|
|
|
|
=== Testing progress report without snapshot ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
|
2015-07-07 16:42:10 +02:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
|
2014-10-27 11:12:56 +01:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 1073741824
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 2147483648
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 3221225472
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
(0.00/100%)
(12.50/100%)
(25.00/100%)
(37.50/100%)
(50.00/100%)
(62.50/100%)
(75.00/100%)
(87.50/100%)
(100.00/100%)
(100.00/100%)
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Testing progress report with snapshot ===
|
|
|
|
|
2014-12-09 08:38:03 +01:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
|
2015-07-07 16:42:10 +02:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
|
2014-10-27 11:12:56 +01:00
|
|
|
wrote 65536/65536 bytes at offset 0
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 1073741824
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 2147483648
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
wrote 65536/65536 bytes at offset 3221225472
|
|
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
(0.00/100%)
(6.25/100%)
(12.50/100%)
(18.75/100%)
(25.00/100%)
(31.25/100%)
(37.50/100%)
(43.75/100%)
(50.00/100%)
(56.25/100%)
(62.50/100%)
(68.75/100%)
(75.00/100%)
(81.25/100%)
(87.50/100%)
(93.75/100%)
(100.00/100%)
(100.00/100%)
|
|
|
|
No errors were found on the image.
|
2019-02-26 15:00:29 +01:00
|
|
|
|
|
|
|
=== Testing version downgrade with external data file ===
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
|
|
|
|
qemu-img: Cannot downgrade an image with a data file
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file: TEST_DIR/t.IMGFMT.data
|
|
|
|
data file raw: false
|
|
|
|
corrupt: false
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Try changing the external data file ===
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
qemu-img: data-file can only be set for images that use an external data file
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
|
|
|
|
qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Could not open 'foo': No such file or directory
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file: foo
|
|
|
|
data file raw: false
|
|
|
|
corrupt: false
|
|
|
|
|
|
|
|
qemu-img: Could not open 'TEST_DIR/t.IMGFMT': 'data-file' is required for this image
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file raw: false
|
|
|
|
corrupt: false
|
|
|
|
|
|
|
|
=== Clearing and setting data-file-raw ===
|
|
|
|
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file: TEST_DIR/t.IMGFMT.data
|
|
|
|
data file raw: true
|
|
|
|
corrupt: false
|
|
|
|
No errors were found on the image.
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file: TEST_DIR/t.IMGFMT.data
|
|
|
|
data file raw: false
|
|
|
|
corrupt: false
|
|
|
|
No errors were found on the image.
|
|
|
|
qemu-img: data-file-raw cannot be set on existing images
|
|
|
|
image: TEST_DIR/t.IMGFMT
|
|
|
|
file format: IMGFMT
|
2019-04-17 19:11:01 +02:00
|
|
|
virtual size: 64 MiB (67108864 bytes)
|
2019-02-26 15:00:29 +01:00
|
|
|
cluster_size: 65536
|
|
|
|
Format specific information:
|
|
|
|
compat: 1.1
|
|
|
|
lazy refcounts: false
|
|
|
|
refcount bits: 16
|
|
|
|
data file: TEST_DIR/t.IMGFMT.data
|
|
|
|
data file raw: false
|
|
|
|
corrupt: false
|
|
|
|
No errors were found on the image.
|
2013-09-03 10:09:55 +02:00
|
|
|
*** done
|