Skip to content

Commit 4abf70a

Browse files
committed
Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-06-24' into staging
Block patches: - Two iotest fixes # gpg: Signature made Wed 24 Jun 2020 09:00:51 BST # gpg: using RSA key 91BEB60A30DB3E8857D11829F407DB0061D5CF40 # gpg: issuer "[email protected]" # gpg: Good signature from "Max Reitz <[email protected]>" [full] # Primary key fingerprint: 91BE B60A 30DB 3E88 57D1 1829 F407 DB00 61D5 CF40 * remotes/maxreitz/tags/pull-block-2020-06-24: iotests: don't test qcow2.py inside 291 iotests: Fix 051 output after qdev_init_nofail() removal Signed-off-by: Peter Maydell <[email protected]>
2 parents 6651620 + 24b861c commit 4abf70a

File tree

3 files changed

+2
-39
lines changed

3 files changed

+2
-39
lines changed

tests/qemu-iotests/051.pc.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
142142

143143
Testing: -drive if=ide
144144
QEMU X.Y.Z monitor - type 'help' for more information
145-
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Device needs media, but drive is empty
145+
(qemu) QEMU_PROG: Device needs media, but drive is empty
146146

147147
Testing: -drive if=virtio
148148
QEMU X.Y.Z monitor - type 'help' for more information
@@ -214,7 +214,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
214214

215215
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
216216
QEMU X.Y.Z monitor - type 'help' for more information
217-
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Block node is read-only
217+
(qemu) QEMU_PROG: Block node is read-only
218218

219219
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
220220
QEMU X.Y.Z monitor - type 'help' for more information

tests/qemu-iotests/291

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ $QEMU_IO -c 'w 1M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
6464
$QEMU_IMG bitmap --disable -f $IMGFMT "$TEST_IMG" b1
6565
$QEMU_IMG bitmap --enable -f $IMGFMT "$TEST_IMG" b2
6666
$QEMU_IO -c 'w 2M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
67-
echo "Check resulting qcow2 header extensions:"
68-
$PYTHON qcow2.py "$TEST_IMG" dump-header-exts
6967

7068
echo
7169
echo "=== Bitmap preservation not possible to non-qcow2 ==="
@@ -92,8 +90,6 @@ $QEMU_IMG bitmap --merge tmp -f $IMGFMT "$TEST_IMG" b0
9290
$QEMU_IMG bitmap --remove --image-opts \
9391
driver=$IMGFMT,file.driver=file,file.filename="$TEST_IMG" tmp
9492
_img_info --format-specific
95-
echo "Check resulting qcow2 header extensions:"
96-
$PYTHON qcow2.py "$TEST_IMG" dump-header-exts
9793

9894
echo
9995
echo "=== Check bitmap contents ==="

tests/qemu-iotests/291.out

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,6 @@ wrote 1048576/1048576 bytes at offset 1048576
1414
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
1515
wrote 1048576/1048576 bytes at offset 2097152
1616
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17-
Check resulting qcow2 header extensions:
18-
Header extension:
19-
magic 0xe2792aca (Backing format)
20-
length 5
21-
data 'qcow2'
22-
23-
Header extension:
24-
magic 0x6803f857 (Feature table)
25-
length 336
26-
data <binary>
27-
28-
Header extension:
29-
magic 0x23852875 (Bitmaps)
30-
length 24
31-
nb_bitmaps 2
32-
reserved32 0
33-
bitmap_directory_size 0x40
34-
bitmap_directory_offset 0x510000
35-
3617

3718
=== Bitmap preservation not possible to non-qcow2 ===
3819

@@ -84,20 +65,6 @@ Format specific information:
8465
granularity: 65536
8566
refcount bits: 16
8667
corrupt: false
87-
Check resulting qcow2 header extensions:
88-
Header extension:
89-
magic 0x6803f857 (Feature table)
90-
length 336
91-
data <binary>
92-
93-
Header extension:
94-
magic 0x23852875 (Bitmaps)
95-
length 24
96-
nb_bitmaps 3
97-
reserved32 0
98-
bitmap_directory_size 0x60
99-
bitmap_directory_offset 0x520000
100-
10168

10269
=== Check bitmap contents ===
10370

0 commit comments

Comments
 (0)