On 6/1/20 8:48 AM, Andrey Shinkevich wrote:
Header extension: Feature table
magic 0x6803f857
length 192
data <binary>
The change incurs modification of the output in 031, 036 and 061 test
cases.
Signed-off-by: Andrey Shinkevich <[email protected]>
---
tests/qemu-iotests/031.out | 22 +++++++++++-----------
tests/qemu-iotests/036.out | 4 ++--
tests/qemu-iotests/061.out | 18 +++++++++---------
tests/qemu-iotests/qcow2.py | 23 ++++++++++++++++++++---
4 files changed, 42 insertions(+), 25 deletions(-)
+++ b/tests/qemu-iotests/061.out
@@ -491,7 +491,7 @@ 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%)
+ (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.
This hunk looks odd. But it is not necessarily wrong. Occurs a couple
of times.
+++ b/tests/qemu-iotests/qcow2.py
@@ -6,19 +6,36 @@ import string
class QcowHeaderExtension:
+ QCOW2_EXT_MAGIC_BACKING_FORMAT = 0xE2792ACA
+ QCOW2_EXT_MAGIC_FEATURE_TABLE = 0x6803f857
Why the inconsistency between capitalization in these constants?
Reviewed-by: Eric Blake <[email protected]>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org