cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

061.out (21600B)


      1QA output created by 061
      2
      3=== Testing version downgrade with zero expansion ===
      4
      5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
      6wrote 131072/131072 bytes at offset 0
      7128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
      8magic                     0x514649fb
      9version                   3
     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     []
     22compatible_features       [0]
     23autoclear_features        []
     24refcount_order            4
     25header_length             112
     26
     27Header extension:
     28magic                     0x6803f857 (Feature table)
     29length                    384
     30data                      <binary>
     31
     32magic                     0x514649fb
     33version                   2
     34backing_file_offset       0x0
     35backing_file_size         0x0
     36cluster_bits              16
     37size                      67108864
     38crypt_method              0
     39l1_size                   1
     40l1_table_offset           0x30000
     41refcount_table_offset     0x10000
     42refcount_table_clusters   1
     43nb_snapshots              0
     44snapshot_offset           0x0
     45incompatible_features     []
     46compatible_features       []
     47autoclear_features        []
     48refcount_order            4
     49header_length             72
     50
     51read 131072/131072 bytes at offset 0
     52128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
     53No errors were found on the image.
     54
     55=== Testing version downgrade with zero expansion and 4K cache entries ===
     56
     57Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
     58wrote 131072/131072 bytes at offset 0
     59128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
     60wrote 131072/131072 bytes at offset 33554432
     61128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
     62128 KiB (0x20000) bytes     allocated at offset 0 bytes (0x0)
     6331.875 MiB (0x1fe0000) bytes not allocated at offset 128 KiB (0x20000)
     64128 KiB (0x20000) bytes     allocated at offset 32 MiB (0x2000000)
     6531.875 MiB (0x1fe0000) bytes not allocated at offset 32.125 MiB (0x2020000)
     66magic                     0x514649fb
     67version                   3
     68backing_file_offset       0x0
     69backing_file_size         0x0
     70cluster_bits              16
     71size                      67108864
     72crypt_method              0
     73l1_size                   1
     74l1_table_offset           0x30000
     75refcount_table_offset     0x10000
     76refcount_table_clusters   1
     77nb_snapshots              0
     78snapshot_offset           0x0
     79incompatible_features     []
     80compatible_features       [0]
     81autoclear_features        []
     82refcount_order            4
     83header_length             112
     84
     85Header extension:
     86magic                     0x6803f857 (Feature table)
     87length                    384
     88data                      <binary>
     89
     90magic                     0x514649fb
     91version                   2
     92backing_file_offset       0x0
     93backing_file_size         0x0
     94cluster_bits              16
     95size                      67108864
     96crypt_method              0
     97l1_size                   1
     98l1_table_offset           0x30000
     99refcount_table_offset     0x10000
    100refcount_table_clusters   1
    101nb_snapshots              0
    102snapshot_offset           0x0
    103incompatible_features     []
    104compatible_features       []
    105autoclear_features        []
    106refcount_order            4
    107header_length             72
    108
    109read 131072/131072 bytes at offset 0
    110128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    111read 131072/131072 bytes at offset 33554432
    112128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    11364 MiB (0x4000000) bytes not allocated at offset 0 bytes (0x0)
    114No errors were found on the image.
    115
    116=== Testing dirty version downgrade ===
    117
    118Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    119wrote 131072/131072 bytes at offset 0
    120128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    121./common.rc: Killed                  ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
    122magic                     0x514649fb
    123version                   3
    124backing_file_offset       0x0
    125backing_file_size         0x0
    126cluster_bits              16
    127size                      67108864
    128crypt_method              0
    129l1_size                   1
    130l1_table_offset           0x30000
    131refcount_table_offset     0x10000
    132refcount_table_clusters   1
    133nb_snapshots              0
    134snapshot_offset           0x0
    135incompatible_features     [0]
    136compatible_features       [0]
    137autoclear_features        []
    138refcount_order            4
    139header_length             112
    140
    141Header extension:
    142magic                     0x6803f857 (Feature table)
    143length                    384
    144data                      <binary>
    145
    146ERROR cluster 5 refcount=0 reference=1
    147ERROR cluster 6 refcount=0 reference=1
    148Rebuilding refcount structure
    149Repairing cluster 1 refcount=1 reference=0
    150Repairing cluster 2 refcount=1 reference=0
    151magic                     0x514649fb
    152version                   2
    153backing_file_offset       0x0
    154backing_file_size         0x0
    155cluster_bits              16
    156size                      67108864
    157crypt_method              0
    158l1_size                   1
    159l1_table_offset           0x30000
    160refcount_table_offset     0x80000
    161refcount_table_clusters   1
    162nb_snapshots              0
    163snapshot_offset           0x0
    164incompatible_features     []
    165compatible_features       []
    166autoclear_features        []
    167refcount_order            4
    168header_length             72
    169
    170read 131072/131072 bytes at offset 0
    171128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    172No errors were found on the image.
    173
    174=== Testing version downgrade with unknown compat/autoclear flags ===
    175
    176Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    177magic                     0x514649fb
    178version                   3
    179backing_file_offset       0x0
    180backing_file_size         0x0
    181cluster_bits              16
    182size                      67108864
    183crypt_method              0
    184l1_size                   1
    185l1_table_offset           0x30000
    186refcount_table_offset     0x10000
    187refcount_table_clusters   1
    188nb_snapshots              0
    189snapshot_offset           0x0
    190incompatible_features     []
    191compatible_features       [42]
    192autoclear_features        [42]
    193refcount_order            4
    194header_length             112
    195
    196Header extension:
    197magic                     0x6803f857 (Feature table)
    198length                    384
    199data                      <binary>
    200
    201magic                     0x514649fb
    202version                   2
    203backing_file_offset       0x0
    204backing_file_size         0x0
    205cluster_bits              16
    206size                      67108864
    207crypt_method              0
    208l1_size                   1
    209l1_table_offset           0x30000
    210refcount_table_offset     0x10000
    211refcount_table_clusters   1
    212nb_snapshots              0
    213snapshot_offset           0x0
    214incompatible_features     []
    215compatible_features       []
    216autoclear_features        []
    217refcount_order            4
    218header_length             72
    219
    220No errors were found on the image.
    221
    222=== Testing version upgrade and resize ===
    223
    224Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    225wrote 65536/65536 bytes at offset 44040192
    22664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    227magic                     0x514649fb
    228version                   2
    229backing_file_offset       0x0
    230backing_file_size         0x0
    231cluster_bits              16
    232size                      67108864
    233crypt_method              0
    234l1_size                   1
    235l1_table_offset           0x30000
    236refcount_table_offset     0x10000
    237refcount_table_clusters   1
    238nb_snapshots              0
    239snapshot_offset           0x0
    240incompatible_features     []
    241compatible_features       []
    242autoclear_features        []
    243refcount_order            4
    244header_length             72
    245
    246magic                     0x514649fb
    247version                   3
    248backing_file_offset       0x0
    249backing_file_size         0x0
    250cluster_bits              16
    251size                      134217728
    252crypt_method              0
    253l1_size                   1
    254l1_table_offset           0x30000
    255refcount_table_offset     0x10000
    256refcount_table_clusters   1
    257nb_snapshots              0
    258snapshot_offset           0x0
    259incompatible_features     []
    260compatible_features       [0]
    261autoclear_features        []
    262refcount_order            4
    263header_length             112
    264
    265Header extension:
    266magic                     0x6803f857 (Feature table)
    267length                    384
    268data                      <binary>
    269
    270read 65536/65536 bytes at offset 44040192
    27164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    272No errors were found on the image.
    273
    274=== Testing resize with snapshots ===
    275
    276Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432
    277wrote 65536/65536 bytes at offset 25165824
    27864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    279qemu-img: Can't resize a v2 image which has snapshots
    280version                   2
    281size                      33554432
    282nb_snapshots              1
    283version                   3
    284size                      134217728
    285nb_snapshots              1
    286Image resized.
    287version                   3
    288size                      67108864
    289nb_snapshots              2
    290qemu-img: Internal snapshots prevent downgrade of image
    291version                   3
    292size                      33554432
    293nb_snapshots              2
    294version                   3
    295size                      134217728
    296nb_snapshots              2
    297version                   2
    298size                      33554432
    299nb_snapshots              1
    300No errors were found on the image.
    301
    302=== Testing dirty lazy_refcounts=off ===
    303
    304Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    305wrote 131072/131072 bytes at offset 0
    306128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    307./common.rc: Killed                  ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
    308magic                     0x514649fb
    309version                   3
    310backing_file_offset       0x0
    311backing_file_size         0x0
    312cluster_bits              16
    313size                      67108864
    314crypt_method              0
    315l1_size                   1
    316l1_table_offset           0x30000
    317refcount_table_offset     0x10000
    318refcount_table_clusters   1
    319nb_snapshots              0
    320snapshot_offset           0x0
    321incompatible_features     [0]
    322compatible_features       [0]
    323autoclear_features        []
    324refcount_order            4
    325header_length             112
    326
    327Header extension:
    328magic                     0x6803f857 (Feature table)
    329length                    384
    330data                      <binary>
    331
    332ERROR cluster 5 refcount=0 reference=1
    333ERROR cluster 6 refcount=0 reference=1
    334Rebuilding refcount structure
    335Repairing cluster 1 refcount=1 reference=0
    336Repairing cluster 2 refcount=1 reference=0
    337magic                     0x514649fb
    338version                   3
    339backing_file_offset       0x0
    340backing_file_size         0x0
    341cluster_bits              16
    342size                      67108864
    343crypt_method              0
    344l1_size                   1
    345l1_table_offset           0x30000
    346refcount_table_offset     0x80000
    347refcount_table_clusters   1
    348nb_snapshots              0
    349snapshot_offset           0x0
    350incompatible_features     []
    351compatible_features       []
    352autoclear_features        []
    353refcount_order            4
    354header_length             112
    355
    356Header extension:
    357magic                     0x6803f857 (Feature table)
    358length                    384
    359data                      <binary>
    360
    361read 131072/131072 bytes at offset 0
    362128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    363No errors were found on the image.
    364
    365=== Testing backing file ===
    366
    367Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    368Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
    369wrote 131072/131072 bytes at offset 0
    370128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    371read 131072/131072 bytes at offset 0
    372128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    373qemu-img: Cannot amend the backing file
    374You can use 'qemu-img rebase' instead.
    375read 131072/131072 bytes at offset 0
    376128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    377No errors were found on the image.
    378
    379=== Testing invalid configurations ===
    380
    381Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    382qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
    383qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
    384qemu-img: Unknown compatibility level 0.42
    385qemu-img: Invalid parameter 'foo'
    386qemu-img: Invalid parameter 'cluster_size'
    387This option is only supported for image creation
    388qemu-img: Invalid parameter 'encryption'
    389This option is only supported for image creation
    390qemu-img: Invalid parameter 'preallocation'
    391This option is only supported for image creation
    392
    393=== Testing correct handling of unset value ===
    394
    395Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    396Should work:
    397Should not work:
    398qemu-img: Invalid parameter 'cluster_size'
    399This option is only supported for image creation
    400
    401=== Testing zero expansion on inactive clusters ===
    402
    403Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    404wrote 131072/131072 bytes at offset 0
    405128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    406wrote 131072/131072 bytes at offset 0
    407128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    408No errors were found on the image.
    409read 131072/131072 bytes at offset 0
    410128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    411No errors were found on the image.
    412read 131072/131072 bytes at offset 0
    413128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    414
    415=== Testing zero expansion on shared L2 table ===
    416
    417Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    418wrote 131072/131072 bytes at offset 0
    419128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    420No errors were found on the image.
    421read 131072/131072 bytes at offset 0
    422128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    423No errors were found on the image.
    424read 131072/131072 bytes at offset 0
    425128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    426
    427=== Testing zero expansion on backed image ===
    428
    429Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
    430wrote 131072/131072 bytes at offset 0
    431128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    432Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
    433read 131072/131072 bytes at offset 0
    434128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    435wrote 65536/65536 bytes at offset 0
    43664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    437No errors were found on the image.
    438read 65536/65536 bytes at offset 0
    43964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    440read 65536/65536 bytes at offset 65536
    44164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    442
    443=== Testing zero expansion on backed inactive clusters ===
    444
    445Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
    446wrote 131072/131072 bytes at offset 0
    447128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    448Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
    449wrote 65536/65536 bytes at offset 0
    45064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    451wrote 131072/131072 bytes at offset 0
    452128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    453No errors were found on the image.
    454read 131072/131072 bytes at offset 0
    455128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    456No errors were found on the image.
    457read 65536/65536 bytes at offset 0
    45864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    459read 65536/65536 bytes at offset 65536
    46064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    461
    462=== Testing zero expansion on backed image with shared L2 table ===
    463
    464Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
    465wrote 131072/131072 bytes at offset 0
    466128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    467Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
    468wrote 131072/131072 bytes at offset 0
    469128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    470No errors were found on the image.
    471read 131072/131072 bytes at offset 0
    472128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    473No errors were found on the image.
    474read 131072/131072 bytes at offset 0
    475128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    476
    477=== Testing preallocated zero expansion on full image ===
    478
    479Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    480wrote 67108864/67108864 bytes at offset 0
    48164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    482wrote 67108864/67108864 bytes at offset 0
    48364 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    484No errors were found on the image.
    485read 67108864/67108864 bytes at offset 0
    48664 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    487
    488=== Testing progress report without snapshot ===
    489
    490Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
    491Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
    492wrote 65536/65536 bytes at offset 0
    49364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    494wrote 65536/65536 bytes at offset 1073741824
    49564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    496wrote 65536/65536 bytes at offset 2147483648
    49764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    498wrote 65536/65536 bytes at offset 3221225472
    49964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    500    (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%)
    501No errors were found on the image.
    502
    503=== Testing progress report with snapshot ===
    504
    505Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
    506Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
    507wrote 65536/65536 bytes at offset 0
    50864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    509wrote 65536/65536 bytes at offset 1073741824
    51064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    511wrote 65536/65536 bytes at offset 2147483648
    51264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    513wrote 65536/65536 bytes at offset 3221225472
    51464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
    515    (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%)
    516No errors were found on the image.
    517
    518=== Testing version downgrade with external data file ===
    519
    520Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
    521qemu-img: Cannot downgrade an image with a data file
    522image: TEST_DIR/t.IMGFMT
    523file format: IMGFMT
    524virtual size: 64 MiB (67108864 bytes)
    525cluster_size: 65536
    526Format specific information:
    527    compat: 1.1
    528    compression type: zlib
    529    lazy refcounts: false
    530    refcount bits: 16
    531    data file: TEST_DIR/t.IMGFMT.data
    532    data file raw: false
    533    corrupt: false
    534    extended l2: false
    535No errors were found on the image.
    536
    537=== Testing version downgrade with extended L2 entries ===
    538
    539Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    540qemu-img: Cannot downgrade an image with incompatible features 0x10 set
    541
    542=== Try changing the external data file ===
    543
    544Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
    545qemu-img: data-file can only be set for images that use an external data file
    546
    547Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
    548qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Could not open 'foo': No such file or directory
    549image: TEST_DIR/t.IMGFMT
    550file format: IMGFMT
    551virtual size: 64 MiB (67108864 bytes)
    552cluster_size: 65536
    553Format specific information:
    554    compat: 1.1
    555    compression type: zlib
    556    lazy refcounts: false
    557    refcount bits: 16
    558    data file: foo
    559    data file raw: false
    560    corrupt: false
    561    extended l2: false
    562
    563qemu-img: Could not open 'TEST_DIR/t.IMGFMT': 'data-file' is required for this image
    564image: TEST_DIR/t.IMGFMT
    565file format: IMGFMT
    566virtual size: 64 MiB (67108864 bytes)
    567cluster_size: 65536
    568Format specific information:
    569    compat: 1.1
    570    compression type: zlib
    571    lazy refcounts: false
    572    refcount bits: 16
    573    data file raw: false
    574    corrupt: false
    575    extended l2: false
    576
    577=== Clearing and setting data-file-raw ===
    578
    579Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
    580image: TEST_DIR/t.IMGFMT
    581file format: IMGFMT
    582virtual size: 64 MiB (67108864 bytes)
    583cluster_size: 65536
    584Format specific information:
    585    compat: 1.1
    586    compression type: zlib
    587    lazy refcounts: false
    588    refcount bits: 16
    589    data file: TEST_DIR/t.IMGFMT.data
    590    data file raw: true
    591    corrupt: false
    592    extended l2: false
    593No errors were found on the image.
    594image: TEST_DIR/t.IMGFMT
    595file format: IMGFMT
    596virtual size: 64 MiB (67108864 bytes)
    597cluster_size: 65536
    598Format specific information:
    599    compat: 1.1
    600    compression type: zlib
    601    lazy refcounts: false
    602    refcount bits: 16
    603    data file: TEST_DIR/t.IMGFMT.data
    604    data file raw: false
    605    corrupt: false
    606    extended l2: false
    607No errors were found on the image.
    608qemu-img: data-file-raw cannot be set on existing images
    609image: TEST_DIR/t.IMGFMT
    610file format: IMGFMT
    611virtual size: 64 MiB (67108864 bytes)
    612cluster_size: 65536
    613Format specific information:
    614    compat: 1.1
    615    compression type: zlib
    616    lazy refcounts: false
    617    refcount bits: 16
    618    data file: TEST_DIR/t.IMGFMT.data
    619    data file raw: false
    620    corrupt: false
    621    extended l2: false
    622No errors were found on the image.
    623*** done