Skip to contentSkip to conversation

Block patches

GIT PULL Applied Max Reitz 2 participants 7 messages Jun 24, 2020 – Jul 3, 2020

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

The following changes since commit d88d5a3806d78dcfca648c62dae9d88d3e803bd2:

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-hw-20200622' into staging (2020-06-23 13:55:52 +0100)

are available in the Git repository at:

https://github.com/XanClic/qemu.git tags/pull-block-2020-06-24

for you to fetch changes up to 24b861c0386a17ea31eb824310c21118fb7be883:

iotests: don't test qcow2.py inside 291 (2020-06-24 10:00:04 +0200)

----------------------------------------------------------------
Block patches:
- Two iotest fixes

----------------------------------------------------------------
This is v2, where I dropped Maxim’s LUKS keyslot amendment series and my iotest patches, because both caused iotest failures on some test machines.
----------------------------------------------------------------
Philippe Mathieu-Daudé (1):
iotests: Fix 051 output after qdev_init_nofail() removal

Vladimir Sementsov-Ogievskiy (1):
iotests: don't test qcow2.py inside 291

 tests/qemu-iotests/051.pc.out |  4 ++--
 tests/qemu-iotests/291        |  4 ----
 tests/qemu-iotests/291.out    | 33 ---------------------------------
 3 files changed, 2 insertions(+), 39 deletions(-)
Signature · 1 line
2.26.2
author
#1 lore raw

[PULL v2 2/2] iotests: don't test qcow2.py inside 291

From: Vladimir Sementsov-Ogievskiy <[email protected]>

820c6bee534ec3b added testing of qcow2.py into 291, and it breaks 291 with external data file. Actually, 291 is bad place for qcow2.py testing, better add a separate test.

For now, drop qcow2.py testing from 291 to fix the regression.

Message-Id: <[email protected]>

---
 tests/qemu-iotests/291     |  4 ----
 tests/qemu-iotests/291.out | 33 ---------------------------------
 2 files changed, 37 deletions(-)
tests/qemu-iotests/291 +0 -4
index 28e4fb9b4d..1e0bb76959 100755
@@ -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 --enable -f $IMGFMT "$TEST_IMG" b2
 $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 "=== 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 \
     driver=$IMGFMT,file.driver=file,file.filename="$TEST_IMG" tmp
 _img_info --format-specific
-echo "Check resulting qcow2 header extensions:"
-$PYTHON qcow2.py "$TEST_IMG" dump-header-exts
 
 echo
 echo "=== Check bitmap contents ==="
tests/qemu-iotests/291.out +0 -33
index 08bfaaaa6b..9f661515b4 100644
@@ -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)
 wrote 1048576/1048576 bytes at offset 2097152
 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 ===
 
@@ -84,20 +65,6 @@ Format specific information:
             granularity: 65536
     refcount bits: 16
     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 ===
 
Signature · 1 line
2.26.2
author
#2 lore raw

[PULL v2 1/2] iotests: Fix 051 output after qdev_init_nofail() removal

In reply to Max Reitz

From: Philippe Mathieu-Daudé <[email protected]>

Commit 96927c744 replaced qdev_init_nofail() call by isa_realize_and_unref() which has a different error message. Update the test output accordingly.

Gitlab CI error after merging b77b5b3dc7:
https://gitlab.com/qemu-project/qemu/-/jobs/597414772#L4375

Message-Id: <[email protected]>

---
 tests/qemu-iotests/051.pc.out | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/qemu-iotests/051.pc.out +2 -2
index 0ea80d35f0..da8ad87187 100644
@@ -142,7 +142,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
 
 Testing: -drive if=ide
 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
 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
 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
 QEMU X.Y.Z monitor - type 'help' for more information
Signature · 1 line
2.26.2
author
#3 lore raw
In reply to Max Reitz
Quoted 12 lines · Max Reitz

The following changes since commit d88d5a3806d78dcfca648c62dae9d88d3e803bd2:

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-hw-20200622' into staging (2020-06-23 13:55:52 +0100)

are available in the Git repository at:

https://github.com/XanClic/qemu.git tags/pull-block-2020-06-24

for you to fetch changes up to 24b861c0386a17ea31eb824310c21118fb7be883:

iotests: don't test qcow2.py inside 291 (2020-06-24 10:00:04 +0200)

Quoted 8 lines

----------------------------------------------------------------
Block patches:
- Two iotest fixes

----------------------------------------------------------------
This is v2, where I dropped Maxim’s LUKS keyslot amendment series and my iotest patches, because both caused iotest failures on some test machines.

Ping?

Or should I just send another pull request that includes Maxim’s original series to supersede this one altogether?

Max

#4 lore raw
Quoted 23 lines · Max Reitz
Quoted 12 lines · Max Reitz

The following changes since commit d88d5a3806d78dcfca648c62dae9d88d3e803bd2:

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-hw-20200622' into staging (2020-06-23 13:55:52 +0100)

are available in the Git repository at:

https://github.com/XanClic/qemu.git tags/pull-block-2020-06-24

for you to fetch changes up to 24b861c0386a17ea31eb824310c21118fb7be883:

iotests: don't test qcow2.py inside 291 (2020-06-24 10:00:04 +0200)

Quoted 8 lines

----------------------------------------------------------------
Block patches:
- Two iotest fixes

----------------------------------------------------------------
This is v2, where I dropped Maxim’s LUKS keyslot amendment series and my iotest patches, because both caused iotest failures on some test machines.

Quoted 4 lines

Ping?

Or should I just send another pull request that includes Maxim’s original series to supersede this one altogether?

Sorry, your resend just fell out of my to-process queue for some reason; I can put it back in the list to process.

-- PMM

author
#5 lore raw
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Max Reitz
Quoted 20 lines · Max Reitz

The following changes since commit d88d5a3806d78dcfca648c62dae9d88d3e803bd2:

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-hw-20200622' into staging (2020-06-23 13:55:52 +0100)

are available in the Git repository at:

https://github.com/XanClic/qemu.git tags/pull-block-2020-06-24

for you to fetch changes up to 24b861c0386a17ea31eb824310c21118fb7be883:

iotests: don't test qcow2.py inside 291 (2020-06-24 10:00:04 +0200)

----------------------------------------------------------------
Block patches:
- Two iotest fixes

----------------------------------------------------------------
This is v2, where I dropped Maxim’s LUKS keyslot amendment series and my iotest patches, because both caused iotest failures on some test machines.

Quoted 7 lines
Quoted 4 lines

Ping?

Or should I just send another pull request that includes Maxim’s original series to supersede this one altogether?

Sorry, your resend just fell out of my to-process queue for some reason; I can put it back in the list to process.

That’d be great, thanks!

Max

#6 lore raw
Quoted 28 lines · Max Reitz
Quoted 26 lines · Peter Maydell
Quoted 25 lines · Max Reitz
Quoted 12 lines · Max Reitz

The following changes since commit d88d5a3806d78dcfca648c62dae9d88d3e803bd2:

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/renesas-hw-20200622' into staging (2020-06-23 13:55:52 +0100)

are available in the Git repository at:

https://github.com/XanClic/qemu.git tags/pull-block-2020-06-24

for you to fetch changes up to 24b861c0386a17ea31eb824310c21118fb7be883:

iotests: don't test qcow2.py inside 291 (2020-06-24 10:00:04 +0200)

Quoted 8 lines

----------------------------------------------------------------
Block patches:
- Two iotest fixes

----------------------------------------------------------------
This is v2, where I dropped Maxim’s LUKS keyslot amendment series and my iotest patches, because both caused iotest failures on some test machines.

Ping?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Or should I just send another pull request that includes Maxim’s original series to supersede this one altogether?

Sorry, your resend just fell out of my to-process queue for some reason; I can put it back in the list to process.

That’d be great, thanks!

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM