[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/6] iotests: Add extension names to qcow2.py dump
From: |
Eric Blake |
Subject: |
Re: [PATCH v3 1/6] iotests: Add extension names to qcow2.py dump |
Date: |
Tue, 2 Jun 2020 11:05:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
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 <andrey.shinkevich@virtuozzo.com>
---
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 <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
- [PATCH v3 0/6] iotests: Dump QCOW2 dirty bitmaps metadata, Andrey Shinkevich, 2020/06/01
- [PATCH v3 2/6] iotests: move check for printable data to QcowHeaderExtension class, Andrey Shinkevich, 2020/06/01
- [PATCH v3 1/6] iotests: Add extension names to qcow2.py dump, Andrey Shinkevich, 2020/06/01
- [PATCH v3 5/6] iotests: Dump bitmap table entries serialized in QCOW2 image, Andrey Shinkevich, 2020/06/01
- [PATCH v3 3/6] iotests: dump bitmap extension data with qcow2.py, Andrey Shinkevich, 2020/06/01
- [PATCH v3 4/6] iotests: Dump bitmap directory info with qcow2.py, Andrey Shinkevich, 2020/06/01