mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
qcow2: List autoclear bit names in header
The feature table is supposed to advertise the name of all feature bits that we support; however, we forgot to update the table for autoclear bits. While at it, move the table to read-only memory in code, and tweak the qcow2 spec to name the second autoclear bit. Update iotests that are affected by the longer header length. Fixes:88ddffae
Fixes:93c24936
Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200324174233.1622067-3-eblake@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
a951a631b9
commit
bb40ebce2c
5 changed files with 26 additions and 15 deletions
|
@ -117,7 +117,7 @@ header_length 104
|
|||
|
||||
Header extension:
|
||||
magic 0x6803f857
|
||||
length 192
|
||||
length 288
|
||||
data <binary>
|
||||
|
||||
Header extension:
|
||||
|
@ -150,7 +150,7 @@ header_length 104
|
|||
|
||||
Header extension:
|
||||
magic 0x6803f857
|
||||
length 192
|
||||
length 288
|
||||
data <binary>
|
||||
|
||||
Header extension:
|
||||
|
@ -164,7 +164,7 @@ No errors were found on the image.
|
|||
|
||||
magic 0x514649fb
|
||||
version 3
|
||||
backing_file_offset 0x178
|
||||
backing_file_offset 0x1d8
|
||||
backing_file_size 0x17
|
||||
cluster_bits 16
|
||||
size 67108864
|
||||
|
@ -188,7 +188,7 @@ data 'host_device'
|
|||
|
||||
Header extension:
|
||||
magic 0x6803f857
|
||||
length 192
|
||||
length 288
|
||||
data <binary>
|
||||
|
||||
Header extension:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue