mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Block patches:
- Two iotest fixes -----BEGIN PGP SIGNATURE----- iQFGBAABCAAwFiEEkb62CjDbPohX0Rgp9AfbAGHVz0AFAl7zCDMSHG1yZWl0ekBy ZWRoYXQuY29tAAoJEPQH2wBh1c9Ayo8H/jn4CVqPFvy4n9/hgm8xkiUjV7YTSaqm 0OzbdcCqrA2D8ZhkEvwVLxZ+F06zE6qevOJGn4Ic926VmMbwS8LTLHH2DJnWWwkV wYGSJg+BMsRlYYzjcAYxhh3nSwr61U05ShYP5h33iZUzgOyfrJr1WNndBnxoUztf 4iQ0BppYsjFSVVEZvYuza5hAzfPTyOuBtVH72UnyCSs9YOZelsH93Kg4UXD/3wKH IX+bw7cuEk6dCn2hsUFk3dXa+SlUEcqs2aC2RAE/1T+4cRMkE5EvPV56pKMUOpWQ HsxdiUf1skpjDd1ECSKAdU2I4q+bfVcGaPU93mamxjF/bS1JtPW7WW0= =73iL -----END PGP SIGNATURE----- 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 "mreitz@redhat.com" # gpg: Good signature from "Max Reitz <mreitz@redhat.com>" [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 <peter.maydell@linaro.org>
This commit is contained in:
commit
4abf70a661
3 changed files with 2 additions and 39 deletions
|
@ -142,7 +142,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
|
|
||||||
Testing: -drive if=ide
|
Testing: -drive if=ide
|
||||||
QEMU X.Y.Z monitor - type 'help' for more information
|
QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Device needs media, but drive is empty
|
(qemu) QEMU_PROG: Device needs media, but drive is empty
|
||||||
|
|
||||||
Testing: -drive if=virtio
|
Testing: -drive if=virtio
|
||||||
QEMU X.Y.Z monitor - type 'help' for more information
|
QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
|
@ -214,7 +214,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
|
|
||||||
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
|
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
|
||||||
QEMU X.Y.Z monitor - type 'help' for more information
|
QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
(qemu) QEMU_PROG: Initialization of device ide-hd failed: Block node is read-only
|
(qemu) QEMU_PROG: Block node is read-only
|
||||||
|
|
||||||
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
|
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
|
||||||
QEMU X.Y.Z monitor - type 'help' for more information
|
QEMU X.Y.Z monitor - type 'help' for more information
|
||||||
|
|
|
@ -64,8 +64,6 @@ $QEMU_IO -c 'w 1M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
|
||||||
$QEMU_IMG bitmap --disable -f $IMGFMT "$TEST_IMG" b1
|
$QEMU_IMG bitmap --disable -f $IMGFMT "$TEST_IMG" b1
|
||||||
$QEMU_IMG bitmap --enable -f $IMGFMT "$TEST_IMG" b2
|
$QEMU_IMG bitmap --enable -f $IMGFMT "$TEST_IMG" b2
|
||||||
$QEMU_IO -c 'w 2M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
|
$QEMU_IO -c 'w 2M 1M' -f $IMGFMT "$TEST_IMG" | _filter_qemu_io
|
||||||
echo "Check resulting qcow2 header extensions:"
|
|
||||||
$PYTHON qcow2.py "$TEST_IMG" dump-header-exts
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "=== Bitmap preservation not possible to non-qcow2 ==="
|
echo "=== Bitmap preservation not possible to non-qcow2 ==="
|
||||||
|
@ -92,8 +90,6 @@ $QEMU_IMG bitmap --merge tmp -f $IMGFMT "$TEST_IMG" b0
|
||||||
$QEMU_IMG bitmap --remove --image-opts \
|
$QEMU_IMG bitmap --remove --image-opts \
|
||||||
driver=$IMGFMT,file.driver=file,file.filename="$TEST_IMG" tmp
|
driver=$IMGFMT,file.driver=file,file.filename="$TEST_IMG" tmp
|
||||||
_img_info --format-specific
|
_img_info --format-specific
|
||||||
echo "Check resulting qcow2 header extensions:"
|
|
||||||
$PYTHON qcow2.py "$TEST_IMG" dump-header-exts
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "=== Check bitmap contents ==="
|
echo "=== Check bitmap contents ==="
|
||||||
|
|
|
@ -14,25 +14,6 @@ wrote 1048576/1048576 bytes at offset 1048576
|
||||||
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
||||||
wrote 1048576/1048576 bytes at offset 2097152
|
wrote 1048576/1048576 bytes at offset 2097152
|
||||||
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
||||||
Check resulting qcow2 header extensions:
|
|
||||||
Header extension:
|
|
||||||
magic 0xe2792aca (Backing format)
|
|
||||||
length 5
|
|
||||||
data 'qcow2'
|
|
||||||
|
|
||||||
Header extension:
|
|
||||||
magic 0x6803f857 (Feature table)
|
|
||||||
length 336
|
|
||||||
data <binary>
|
|
||||||
|
|
||||||
Header extension:
|
|
||||||
magic 0x23852875 (Bitmaps)
|
|
||||||
length 24
|
|
||||||
nb_bitmaps 2
|
|
||||||
reserved32 0
|
|
||||||
bitmap_directory_size 0x40
|
|
||||||
bitmap_directory_offset 0x510000
|
|
||||||
|
|
||||||
|
|
||||||
=== Bitmap preservation not possible to non-qcow2 ===
|
=== Bitmap preservation not possible to non-qcow2 ===
|
||||||
|
|
||||||
|
@ -84,20 +65,6 @@ Format specific information:
|
||||||
granularity: 65536
|
granularity: 65536
|
||||||
refcount bits: 16
|
refcount bits: 16
|
||||||
corrupt: false
|
corrupt: false
|
||||||
Check resulting qcow2 header extensions:
|
|
||||||
Header extension:
|
|
||||||
magic 0x6803f857 (Feature table)
|
|
||||||
length 336
|
|
||||||
data <binary>
|
|
||||||
|
|
||||||
Header extension:
|
|
||||||
magic 0x23852875 (Bitmaps)
|
|
||||||
length 24
|
|
||||||
nb_bitmaps 3
|
|
||||||
reserved32 0
|
|
||||||
bitmap_directory_size 0x60
|
|
||||||
bitmap_directory_offset 0x520000
|
|
||||||
|
|
||||||
|
|
||||||
=== Check bitmap contents ===
|
=== Check bitmap contents ===
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue