summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/061.out
diff options
context:
space:
mode:
authorKevin Wolf2015-12-02 18:34:39 +0100
committerKevin Wolf2016-01-20 13:36:23 +0100
commitb527c9b392a87abff698ca435da0dfa2bd6324a2 (patch)
treea87643da38636b9561b0509a77d7625f3978e0ae /tests/qemu-iotests/061.out
parentqcow2: Write feature table only for v3 images (diff)
downloadqemu-b527c9b392a87abff698ca435da0dfa2bd6324a2.tar.gz
qemu-b527c9b392a87abff698ca435da0dfa2bd6324a2.tar.xz
qemu-b527c9b392a87abff698ca435da0dfa2bd6324a2.zip
qcow2: Write full header on image creation
When creating a qcow2 image, we didn't necessarily call qcow2_update_header(), but could end up with the basic header that qcow2_create2() created manually. One thing that this basic header lacks is the feature table. Let's make sure that it's always present. This requires a few updates to test cases as well. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/061.out')
-rw-r--r--tests/qemu-iotests/061.out20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/qemu-iotests/061.out b/tests/qemu-iotests/061.out
index d604682da9..a03732e19c 100644
--- a/tests/qemu-iotests/061.out
+++ b/tests/qemu-iotests/061.out
@@ -24,6 +24,11 @@ autoclear_features 0x0
refcount_order 4
header_length 104
+Header extension:
+magic 0x6803f857
+length 144
+data <binary>
+
magic 0x514649fb
version 2
backing_file_offset 0x0
@@ -76,6 +81,11 @@ autoclear_features 0x0
refcount_order 4
header_length 104
+Header extension:
+magic 0x6803f857
+length 144
+data <binary>
+
ERROR cluster 5 refcount=0 reference=1
ERROR cluster 6 refcount=0 reference=1
Rebuilding refcount structure
@@ -126,6 +136,11 @@ autoclear_features 0x40000000000
refcount_order 4
header_length 104
+Header extension:
+magic 0x6803f857
+length 144
+data <binary>
+
magic 0x514649fb
version 2
backing_file_offset 0x0
@@ -228,6 +243,11 @@ autoclear_features 0x0
refcount_order 4
header_length 104
+Header extension:
+magic 0x6803f857
+length 144
+data <binary>
+
ERROR cluster 5 refcount=0 reference=1
ERROR cluster 6 refcount=0 reference=1
Rebuilding refcount structure