qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 0/4] Fixes for QEMU 7.1
@ 2022-08-08  5:05 Thomas Huth
  2022-08-08  5:05 ` [PULL 1/4] pc-bios/s390-ccw: Fix booting with logical block size < physical block size Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas Huth @ 2022-08-08  5:05 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel; +Cc: Pavel Dovgalyuk

 Hi!

The following changes since commit c669f22f1a47897e8d1d595d6b8a59a572f9158c:

  Merge tag 'pull-la-20220805' of https://gitlab.com/rth7680/qemu into staging (2022-08-05 12:55:53 -0700)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2022-08-08

for you to fetch changes up to 407634970dc5dba9330c360cfdc4e69e7aea3b37:

  tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive (2022-08-07 18:51:35 +0200)

----------------------------------------------------------------
* Fix booting in the s390-ccw bios when physical and logical block sizes differ
* Fix the replay-linux avocado test
* Relax a time constraint in iotest 264

----------------------------------------------------------------
Pavel Dovgalyuk (1):
      tests/avocado: fix replay-linux test

Thomas Huth (3):
      pc-bios/s390-ccw: Fix booting with logical block size < physical block size
      pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix
      tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive

 pc-bios/s390-ccw/virtio-blkdev.c |   2 +-
 pc-bios/s390-ccw.img             | Bin 42608 -> 42608 bytes
 tests/avocado/replay_linux.py    |   1 +
 tests/qemu-iotests/264           |   2 +-
 4 files changed, 3 insertions(+), 2 deletions(-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PULL 1/4] pc-bios/s390-ccw: Fix booting with logical block size < physical block size
  2022-08-08  5:05 [PULL 0/4] Fixes for QEMU 7.1 Thomas Huth
@ 2022-08-08  5:05 ` Thomas Huth
  2022-08-08  5:05 ` [PULL 2/4] pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix Thomas Huth
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2022-08-08  5:05 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel; +Cc: Pavel Dovgalyuk

For accessing single blocks during boot, it's the logical block size that
matters. (Physical block sizes are rather interesting e.g. for creating
file systems with the correct alignment for speed reasons etc.).
So the s390-ccw bios has to use the logical block size for calculating
sector numbers during the boot phase, the "physical_block_exp" shift
value must not be taken into account. This change fixes the boot process
when the guest hast been installed on a disk where the logical block size
differs from the physical one, e.g. if the guest has been installed
like this:

 qemu-system-s390x -nographic -accel kvm -m 2G \
  -drive if=none,id=d1,file=fedora.iso,format=raw,media=cdrom \
  -device virtio-scsi -device scsi-cd,drive=d1 \
  -drive if=none,id=d2,file=test.qcow2,format=qcow2
  -device virtio-blk,drive=d2,physical_block_size=4096,logical_block_size=512

Linux correctly uses the logical block size of 512 for the installation,
but the s390-ccw bios tries to boot from a disk with 4096 block size so
far, as long as this patch has not been applied yet (well, it used to work
by accident in the past due to the virtio_assume_scsi() hack that used to
enforce 512 byte sectors on all virtio-block disks, but that hack has been
well removed in commit 5447de2619050a0a4d to fix other scenarios).

Fixes: 5447de2619 ("pc-bios/s390-ccw/virtio-blkdev: Remove virtio_assume_scsi()")
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2112303
Message-Id: <20220805094214.285223-1-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 pc-bios/s390-ccw/virtio-blkdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pc-bios/s390-ccw/virtio-blkdev.c b/pc-bios/s390-ccw/virtio-blkdev.c
index 8271c47296..794f99b42c 100644
--- a/pc-bios/s390-ccw/virtio-blkdev.c
+++ b/pc-bios/s390-ccw/virtio-blkdev.c
@@ -173,7 +173,7 @@ int virtio_get_block_size(void)
 
     switch (vdev->senseid.cu_model) {
     case VIRTIO_ID_BLOCK:
-        return vdev->config.blk.blk_size << vdev->config.blk.physical_block_exp;
+        return vdev->config.blk.blk_size;
     case VIRTIO_ID_SCSI:
         return vdev->scsi_block_size;
     }
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PULL 2/4] pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix
  2022-08-08  5:05 [PULL 0/4] Fixes for QEMU 7.1 Thomas Huth
  2022-08-08  5:05 ` [PULL 1/4] pc-bios/s390-ccw: Fix booting with logical block size < physical block size Thomas Huth
@ 2022-08-08  5:05 ` Thomas Huth
  2022-08-08  5:05 ` [PULL 3/4] tests/avocado: fix replay-linux test Thomas Huth
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2022-08-08  5:05 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel; +Cc: Pavel Dovgalyuk

The new binary now gets the block size of virtio-blk devices right.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 pc-bios/s390-ccw.img | Bin 42608 -> 42608 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/pc-bios/s390-ccw.img b/pc-bios/s390-ccw.img
index 39f9680a0ef1c57f8a0bac9e12ff77ce15150d37..554fcbd1b7af8ea5f8f0d887fba98d52b7a8611d 100644
GIT binary patch
delta 4206
zcmYjU3s}@u7XP0S<S`(_n*j!9fZ-t^Zy6BeouDX$82F*)BMn;-EOKpGbxYSC3Zf@d
z)6`XSbSpxqP04MY3b)p^(tNC2Vk#;qs56N90GYk#%nmi*H~0J9bAIP>U+3Px>7>kb
zQr7$*C&~KTA|1S(4PI&K8Q(5AS6}mX)t<#oXKo(f`Of_vm@In<%5lH!dC@9HZ1Zi@
z4_FF~*Ck2uA+_O4j0#B_Uu*bs#8z;9nHA1PwIpS(#cF%4XC_J9%+yNbSU$n9%YG}!
zZ&a#VB@(A~V7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5:05 ` [PULL 1/4] pc-bios/s390-ccw: Fix booting with logical block size < physical block size Thomas Huth
  2022-08-08  5:05 ` [PULL 2/4] pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix Thomas Huth
@ 2022-08-08  5:05 ` Thomas Huth
  2022-08-08  5:05 ` [PULL 4/4] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive Thomas Huth
  2022-08-08 16:57 ` [PULL 0/4] Fixes for QEMU 7.1 Richard Henderson
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2022-08-08  5:05 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel; +Cc: Pavel Dovgalyuk

From: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>

Last line of the test is missing by accident.
This patch fixes the script.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <165943656662.362178.2086588841425038338.stgit@pasha-ThinkPad-X280>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/avocado/replay_linux.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/avocado/replay_linux.py b/tests/avocado/replay_linux.py
index 40e4f6908e..e1f9981a34 100644
--- a/tests/avocado/replay_linux.py
+++ b/tests/avocado/replay_linux.py
@@ -189,3 +189,4 @@ def test_virt_gicv3(self):
 
         self.run_rr(shift=3,
                     args=(*self.get_common_args(),
+                          "-machine", "virt,gic-version=3"))
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PULL 4/4] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive
  2022-08-08  5:05 [PULL 0/4] Fixes for QEMU 7.1 Thomas Huth
                   ` (2 preceding siblings ...)
  2022-08-08  5:05 ` [PULL 3/4] tests/avocado: fix replay-linux test Thomas Huth
@ 2022-08-08  5:05 ` Thomas Huth
  2022-08-08 16:57 ` [PULL 0/4] Fixes for QEMU 7.1 Richard Henderson
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2022-08-08  5:05 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel; +Cc: Pavel Dovgalyuk

It is possible to hit the assertTrue(delta_t < 2.0) on very loaded
systems. Increase the value to 5.0 to ease the situation a little bit.

Message-Id: <20220802123101.430757-1-thuth@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/qemu-iotests/264 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/264 b/tests/qemu-iotests/264
index bc431d1a19..289381e315 100755
--- a/tests/qemu-iotests/264
+++ b/tests/qemu-iotests/264
@@ -101,7 +101,7 @@ class TestNbdReconnect(iotests.QMPTestCase):
         start_t = time.time()
         self.vm.event_wait('BLOCK_JOB_CANCELLED')
         delta_t = time.time() - start_t
-        self.assertTrue(delta_t < 2.0)
+        self.assertTrue(delta_t < 5.0)
 
     def test_mirror_cancel(self):
         # Mirror speed limit doesn't work well enough, it seems that mirror
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PULL 0/4] Fixes for QEMU 7.1
  2022-08-08  5:05 [PULL 0/4] Fixes for QEMU 7.1 Thomas Huth
                   ` (3 preceding siblings ...)
  2022-08-08  5:05 ` [PULL 4/4] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive Thomas Huth
@ 2022-08-08 16:57 ` Richard Henderson
  4 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 2022-08-08 16:57 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel; +Cc: Pavel Dovgalyuk

On 8/7/22 22:05, Thomas Huth wrote:
>   Hi!
> 
> The following changes since commit c669f22f1a47897e8d1d595d6b8a59a572f9158c:
> 
>    Merge tag 'pull-la-20220805' of https://gitlab.com/rth7680/qemu into staging (2022-08-05 12:55:53 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/thuth/qemu.git tags/pull-request-2022-08-08
> 
> for you to fetch changes up to 407634970dc5dba9330c360cfdc4e69e7aea3b37:
> 
>    tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive (2022-08-07 18:51:35 +0200)
> 
> ----------------------------------------------------------------
> * Fix booting in the s390-ccw bios when physical and logical block sizes differ
> * Fix the replay-linux avocado test
> * Relax a time constraint in iotest 264

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.


r~


> 
> ----------------------------------------------------------------
> Pavel Dovgalyuk (1):
>        tests/avocado: fix replay-linux test
> 
> Thomas Huth (3):
>        pc-bios/s390-ccw: Fix booting with logical block size < physical block size
>        pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix
>        tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive
> 
>   pc-bios/s390-ccw/virtio-blkdev.c |   2 +-
>   pc-bios/s390-ccw.img             | Bin 42608 -> 42608 bytes
>   tests/avocado/replay_linux.py    |   1 +
>   tests/qemu-iotests/264           |   2 +-
>   4 files changed, 3 insertions(+), 2 deletions(-)
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-08 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-08  5:05 [PULL 0/4] Fixes for QEMU 7.1 Thomas Huth
2022-08-08  5:05 ` [PULL 1/4] pc-bios/s390-ccw: Fix booting with logical block size < physical block size Thomas Huth
2022-08-08  5:05 ` [PULL 2/4] pc-bios/s390-ccw: Update the s390-ccw.img with the block size fix Thomas Huth
2022-08-08  5:05 ` [PULL 3/4] tests/avocado: fix replay-linux test Thomas Huth
2022-08-08  5:05 ` [PULL 4/4] tests/qemu-iotests/264: Allow up to 5s for the BLOCK_JOB_CANCEL event to arrive Thomas Huth
2022-08-08 16:57 ` [PULL 0/4] Fixes for QEMU 7.1 Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).