[PATCH] tests/qemu-iotests/testenv: Use the "r2d" machine for sh4/sh4eb

2024-09-17 Thread Thomas Huth
Commit 0ea0538fae516f9b4 removed the default machine of the sh4 binaries, so a lot of iotests are failing now without such a default machine. Teach the iotest harness to use the "r2d" machine instead to fix this problem. Signed-off-by: Thomas Huth --- tests/qemu-iotests/testenv.py | 2 ++ 1 file

[PATCH] tests/qemu-iotests/testenv: Use the "virt" machine for or1k

2024-09-17 Thread Thomas Huth
When compiling QEMU just with "--target-list=or1k-softmmu", there are 8 iotests failing that try to use PCI devices - but the default or1k machine does not have a PCI bus. The "virt" machine is better suited for running the iotests than the or1k default machine since it provides PCI and thus e.g. s

Re: [PATCH 0/1] hw/nvme: add atomic write support

2024-09-17 Thread alan . adamson
On 9/17/24 9:21 AM, alan.adam...@oracle.com wrote: On 9/17/24 12:59 AM, Klaus Jensen wrote: On Aug 20 09:11, Alan Adamson wrote: Since there is work in the Linux NVMe Driver community to add Atomic Write support, it would be desirable to be able to test it with qemu nvme emulation.   This p

Re: [PATCH] mac_dbdma: Remove leftover `dma_memory_unmap` calls

2024-09-17 Thread Peter Xu
On Tue, Sep 17, 2024 at 08:25:06AM +0200, Mattias Nissler wrote: > Mark, thanks for testing and confirming that this doesn't cause any > obvious breakage. > > For my curiosity, which path should this patch take to get into > master? Peter, are you going to respin your pull request with this > incl

Re: [PATCH 0/1] hw/nvme: add atomic write support

2024-09-17 Thread alan . adamson
On 9/17/24 12:59 AM, Klaus Jensen wrote: On Aug 20 09:11, Alan Adamson wrote: Since there is work in the Linux NVMe Driver community to add Atomic Write support, it would be desirable to be able to test it with qemu nvme emulation. This patch will focus on supporting NVMe controller atomic

Re: [PULL 0/1] Block patches

2024-09-17 Thread Peter Maydell
On Tue, 17 Sept 2024 at 12:44, Stefan Hajnoczi wrote: > > The following changes since commit ea9cdbcf3a0b8d5497cddf87990f1b39d8f3bb0a: > > Merge tag 'hw-misc-20240913' of https://github.com/philmd/qemu into staging > (2024-09-15 18:27:40 +0100) > > are available in the Git repository at: > >

[PULL 0/1] Block patches

2024-09-17 Thread Stefan Hajnoczi
The following changes since commit ea9cdbcf3a0b8d5497cddf87990f1b39d8f3bb0a: Merge tag 'hw-misc-20240913' of https://github.com/philmd/qemu into staging (2024-09-15 18:27:40 +0100) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you

[PULL 1/1] hw/block: fix uint32 overflow

2024-09-17 Thread Stefan Hajnoczi
From: Dmitry Frolov The product bs->bl.zone_size * (bs->bl.nr_zones - 1) may overflow uint32. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Frolov Message-id: 20240917080356.270576-2-fro...@swemel.ru Signed-off-by: Stefan Hajnoczi --- hw/block/virtio

Re: [PATCH] hw/block: fix uint32 overflow

2024-09-17 Thread Stefan Hajnoczi
On Tue, Sep 17, 2024 at 11:03:18AM +0300, Dmitry Frolov wrote: > The product bs->bl.zone_size * (bs->bl.nr_zones - 1) may overflow > uint32. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Frolov > --- > hw/block/virtio-blk.c | 2 +- > 1 file chan

[PATCH] hw/block: fix uint32 overflow

2024-09-17 Thread Dmitry Frolov
The product bs->bl.zone_size * (bs->bl.nr_zones - 1) may overflow uint32. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Frolov --- hw/block/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/block/virtio-blk.c b/hw/block

Re: [PATCH 0/1] hw/nvme: add atomic write support

2024-09-17 Thread Klaus Jensen
On Aug 20 09:11, Alan Adamson wrote: > Since there is work in the Linux NVMe Driver community to add Atomic Write > support, it would be desirable to be able to test it with qemu nvme emulation. > > This patch will focus on supporting NVMe controller atomic write parameters > (AWUN and > AWUPF)