Re: [PULL 0/6] Block layer patches

2024-03-26 Thread Peter Maydell
On Tue, 26 Mar 2024 at 13:54, Kevin Wolf  wrote:
>
> The following changes since commit 096ae430a7b5a704af4cd94dca7200d6cb069991:
>
>   Merge tag 'pull-qapi-2024-03-26' of https://repo.or.cz/qemu/armbru into 
> staging (2024-03-26 09:50:21 +)
>
> are available in the Git repository at:
>
>   https://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 12d7b3bbdcededd3b695501d8d247239d769:
>
>   iotests: add test for stream job with an unaligned prefetch read 
> (2024-03-26 14:21:26 +0100)
>
> 
> Block layer patches
>
> - Fix crash with unaligned prefetch requests (e.g. in stream jobs)
> - vdpa-dev: Fix initialisation order to restore VDUSE compatibility
> - iotests fixes
>


Applied, thanks.

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

-- PMM



[PULL 0/6] Block layer patches

2024-03-26 Thread Kevin Wolf
The following changes since commit 096ae430a7b5a704af4cd94dca7200d6cb069991:

  Merge tag 'pull-qapi-2024-03-26' of https://repo.or.cz/qemu/armbru into 
staging (2024-03-26 09:50:21 +)

are available in the Git repository at:

  https://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 12d7b3bbdcededd3b695501d8d247239d769:

  iotests: add test for stream job with an unaligned prefetch read (2024-03-26 
14:21:26 +0100)


Block layer patches

- Fix crash with unaligned prefetch requests (e.g. in stream jobs)
- vdpa-dev: Fix initialisation order to restore VDUSE compatibility
- iotests fixes


Fiona Ebner (3):
  block-backend: fix edge case in bdrv_next() where BDS associated to BB 
changes
  block-backend: fix edge case in bdrv_next_cleanup() where BDS associated 
to BB changes
  iotests: add test for stream job with an unaligned prefetch read

Kevin Wolf (1):
  vdpa-dev: Fix initialisation order to restore VDUSE compatibility

Stefan Reiter (1):
  block/io: accept NULL qiov in bdrv_pad_request

Thomas Huth (1):
  tests/qemu-iotests: Test 157 and 227 require virtio-blk

 block/block-backend.c  | 18 ++---
 block/io.c | 33 +
 hw/net/vhost_net.c | 10 +++
 hw/virtio/vdpa-dev.c   |  5 +-
 hw/virtio/vhost-vdpa.c | 29 +++-
 hw/virtio/vhost.c  |  8 +-
 hw/virtio/trace-events |  2 +-
 tests/qemu-iotests/157 |  2 +
 tests/qemu-iotests/227 |  2 +
 tests/qemu-iotests/tests/stream-unaligned-prefetch | 86 ++
 .../tests/stream-unaligned-prefetch.out|  5 ++
 11 files changed, 167 insertions(+), 33 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/stream-unaligned-prefetch
 create mode 100644 tests/qemu-iotests/tests/stream-unaligned-prefetch.out




Re: [PULL 0/6] Block layer patches

2021-02-02 Thread Peter Maydell
On Mon, 1 Feb 2021 at 19:07, Kevin Wolf  wrote:
>
> The following changes since commit 74208cd252c5da9d867270a178799abd802b9338:
>
>   Merge remote-tracking branch 
> 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging 
> (2021-01-29 19:51:25 +)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 47c9af7f4c78d03986aecc9afb0aab9b19d77cb5:
>
>   iotests: Fix -makecheck output (2021-02-01 17:58:49 +0100)
>
> 
> Block layer patches:
>
> - Fix double processing of nodes in bdrv_set_aio_context()
> - Fix potential hang in block export shutdown
> - iotests: Some more fixups for the 'check' rewrite
> - MAINTAINERS: Add Vladimir as co-maintainer for Block Jobs
>
> 
> Kevin Wolf (1):
>   iotests: Fix -makecheck output
>
> Sergio Lopez (2):
>   block: Avoid processing BDS twice in bdrv_set_aio_context_ignore()
>   block: move blk_exp_close_all() to qemu_cleanup()
>
> Vladimir Sementsov-Ogievskiy (3):
>   MAINTAINERS: Add Vladimir as co-maintainer for Block Jobs
>   iotests/297: pylint: ignore too many statements
>   iotests: check: return 1 on failure

Fails iotest 267 on ppc64:

  TEST   iotest-qcow2: 267 [fail]
QEMU  --
"/home/pm215/qemu/build/all/tests/qemu-iotests/../../qemu-system-ppc64"
-nodefaults -display none -accel q
test
QEMU_IMG  -- "/home/pm215/qemu/build/all/tests/qemu-iotests/../../qemu-img"
QEMU_IO   --
"/home/pm215/qemu/build/all/tests/qemu-iotests/../../qemu-io" --cache
writeback --aio threads -f qcow2
QEMU_NBD  -- "/home/pm215/qemu/build/all/tests/qemu-iotests/../../qemu-nbd"
IMGFMT-- qcow2
IMGPROTO  -- file
PLATFORM  -- Linux/ppc64 gcc1-power7.osuosl.org 3.10.0-862.14.4.el7.ppc64
TEST_DIR  -- /home/pm215/qemu/build/all/tests/qemu-iotests/scratch
SOCK_DIR  -- /tmp/tmpvthy7ogi
SOCKET_SCM_HELPER --
/home/pm215/qemu/build/all/tests/qemu-iotests/socket_scm_helper
--- /home/pm215/qemu/tests/qemu-iotests/267.out
+++ 267.out.bad
@@ -34,7 +34,7 @@
 (qemu) info snapshots
 List of snapshots present on all disks:
 IDTAG   VM SIZEDATE VM CLOCK ICOUNT
---snap0SIZE -mm-dd hh:mm:ss 00:00:00.000
+--snap0 SIZE -mm-dd hh:mm:ss 00:00:00.000
 (qemu) loadvm snap0
 (qemu) quit

@@ -45,7 +45,7 @@
 (qemu) info snapshots
 List of snapshots present on all disks:
 IDTAG   VM SIZEDATE VM CLOCK ICOUNT
---snap0SIZE -mm-dd hh:mm:ss 00:00:00.000
+--snap0 SIZE -mm-dd hh:mm:ss 00:00:00.000
 (qemu) loadvm snap0
 (qemu) quit

@@ -70,7 +70,7 @@
 (qemu) info snapshots
 List of snapshots present on all disks:
 IDTAG   VM SIZEDATE VM CLOCK ICOUNT
---snap0SIZE -mm-dd hh:mm:ss 00:00:00.000
+--snap0 SIZE -mm-dd hh:mm:ss 00:00:00.000
 (qemu) loadvm snap0
 (qemu) quit

(snip a bunch of other diffs which are all the same thing)

Also, I can't apply this until the NetBSD "iotests 030 040 041 127 256
fail almost all the time" issue is fixed, because it makes that test
run fail rather than succeed-despite-the-failures.

thanks
-- PMM



[PULL 0/6] Block layer patches

2021-02-01 Thread Kevin Wolf
The following changes since commit 74208cd252c5da9d867270a178799abd802b9338:

  Merge remote-tracking branch 
'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-01-29 
19:51:25 +)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 47c9af7f4c78d03986aecc9afb0aab9b19d77cb5:

  iotests: Fix -makecheck output (2021-02-01 17:58:49 +0100)


Block layer patches:

- Fix double processing of nodes in bdrv_set_aio_context()
- Fix potential hang in block export shutdown
- iotests: Some more fixups for the 'check' rewrite
- MAINTAINERS: Add Vladimir as co-maintainer for Block Jobs


Kevin Wolf (1):
  iotests: Fix -makecheck output

Sergio Lopez (2):
  block: Avoid processing BDS twice in bdrv_set_aio_context_ignore()
  block: move blk_exp_close_all() to qemu_cleanup()

Vladimir Sementsov-Ogievskiy (3):
  MAINTAINERS: Add Vladimir as co-maintainer for Block Jobs
  iotests/297: pylint: ignore too many statements
  iotests: check: return 1 on failure

 block.c  | 35 +++
 qemu-nbd.c   |  1 +
 softmmu/runstate.c   |  9 +
 storage-daemon/qemu-storage-daemon.c |  1 +
 tests/qemu-iotests/testrunner.py | 10 +++---
 MAINTAINERS  | 10 ++
 tests/qemu-iotests/check |  5 -
 tests/qemu-iotests/pylintrc  |  2 ++
 8 files changed, 61 insertions(+), 12 deletions(-)




Re: [PULL 0/6] Block layer patches

2020-11-03 Thread Peter Maydell
On Tue, 3 Nov 2020 at 15:27, Kevin Wolf  wrote:
>
> The following changes since commit 83851c7c60c90e9fb6a23ff48076387a77bc33cd:
>
>   Merge remote-tracking branch 
> 'remotes/mdroth/tags/qga-pull-2020-10-27-v3-tag' into staging (2020-11-03 
> 12:47:58 +)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to c9eb2f3e386840844bcc91e66d0a3475bc650780:
>
>   block/vvfat: Fix bad printf format specifiers (2020-11-03 16:24:56 +0100)
>
> 
> Block layer patches:
>
> - iotests: Fix pylint/mypy warnings with Python 3.9
> - qmp: fix aio_poll() assertion failure on Windows
> - Some minor fixes
>
> 


Applied, thanks.

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

-- PMM



[PULL 0/6] Block layer patches

2020-11-03 Thread Kevin Wolf
The following changes since commit 83851c7c60c90e9fb6a23ff48076387a77bc33cd:

  Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2020-10-27-v3-tag' 
into staging (2020-11-03 12:47:58 +)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to c9eb2f3e386840844bcc91e66d0a3475bc650780:

  block/vvfat: Fix bad printf format specifiers (2020-11-03 16:24:56 +0100)


Block layer patches:

- iotests: Fix pylint/mypy warnings with Python 3.9
- qmp: fix aio_poll() assertion failure on Windows
- Some minor fixes


AlexChen (1):
  block/vvfat: Fix bad printf format specifiers

Kevin Wolf (3):
  iotests.py: Fix type check errors in wait_migration()
  iotests: Disable unsubscriptable-object in pylint
  iotests: Use Python 3 style super()

Tuguoyi (1):
  qemu-img convert: Free @sn_opts in all error cases

Volker RĂ¼melin (1):
  qmp: fix aio_poll() assertion failure on Windows

 block/vvfat.c | 12 +++-
 qemu-img.c|  2 +-
 util/aio-win32.c  |  8 +++-
 tests/qemu-iotests/iotests.py | 12 
 tests/qemu-iotests/pylintrc   |  2 ++
 5 files changed, 25 insertions(+), 11 deletions(-)




Re: [PULL 0/6] Block layer patches

2020-03-27 Thread Peter Maydell
On Fri, 27 Mar 2020 at 15:20, Kevin Wolf  wrote:
>
> The following changes since commit cfe68ae025f704f336d7dd3d1903ce37b445831d:
>
>   Merge remote-tracking branch 
> 'remotes/vivier2/tags/linux-user-for-5.0-pull-request' into staging 
> (2020-03-26 20:55:54 +)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to df74b1d3dff80983e7a30db1346a4a05847d65fa:
>
>   qcow2: Remove unused fields from BDRVQcow2State (2020-03-27 14:47:23 +0100)
>
> 
> Block layer patches:
>
> - Fix another case of mirror block job deadlocks
> - Minor fixes


Applied, thanks.

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

-- PMM



[PULL 0/6] Block layer patches

2020-03-27 Thread Kevin Wolf
The following changes since commit cfe68ae025f704f336d7dd3d1903ce37b445831d:

  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-5.0-pull-request' into staging (2020-03-26 
20:55:54 +)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to df74b1d3dff80983e7a30db1346a4a05847d65fa:

  qcow2: Remove unused fields from BDRVQcow2State (2020-03-27 14:47:23 +0100)


Block layer patches:

- Fix another case of mirror block job deadlocks
- Minor fixes


Chen Qun (1):
  block/iscsi:use the flags in iscsi_open() prevent Clang warning

Kevin Wolf (3):
  Revert "mirror: Don't let an operation wait for itself"
  mirror: Wait only for in-flight operations
  qcow2: Remove unused fields from BDRVQcow2State

Minwoo Im (1):
  nvme: Print 'cqid' for nvme_del_cq

Vladimir Sementsov-Ogievskiy (1):
  block: fix bdrv_root_attach_child forget to unref child_bs

 block/qcow2.h |  3 ---
 block.c   |  1 +
 block/iscsi.c |  2 +-
 block/mirror.c| 30 +-
 hw/block/trace-events |  2 +-
 5 files changed, 20 insertions(+), 18 deletions(-)




Re: [Qemu-block] [PULL 0/6] Block layer patches

2019-07-08 Thread Peter Maydell
On Mon, 8 Jul 2019 at 15:18, Kevin Wolf  wrote:
>
> The following changes since commit df34fe314b5da628bc9a2664fb1b887bc0a6cc6d:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20190708' into staging (2019-07-08 
> 14:23:32 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to f7077c9860a438087c2d9a8cc27cb8438c98a748:
>
>   qcow2: Allow -o compat=v3 during qemu-img amend (2019-07-08 16:00:31 +0200)
>
> 
> Block layer patches:
>
> - virtio-scsi: Fix request resubmission after I/O error with iothreads
> - qcow2: Fix missing v2/v3 subformat aliases for amend
> - qcow(1): More specific error message for wrong format version
> - MAINTAINERS: update RBD block maintainer
>


Applied, thanks.

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

-- PMM



[Qemu-block] [PULL 0/6] Block layer patches

2019-07-08 Thread Kevin Wolf
The following changes since commit df34fe314b5da628bc9a2664fb1b887bc0a6cc6d:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190708' 
into staging (2019-07-08 14:23:32 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to f7077c9860a438087c2d9a8cc27cb8438c98a748:

  qcow2: Allow -o compat=v3 during qemu-img amend (2019-07-08 16:00:31 +0200)


Block layer patches:

- virtio-scsi: Fix request resubmission after I/O error with iothreads
- qcow2: Fix missing v2/v3 subformat aliases for amend
- qcow(1): More specific error message for wrong format version
- MAINTAINERS: update RBD block maintainer


Eric Blake (1):
  qcow2: Allow -o compat=v3 during qemu-img amend

Jason Dillaman (1):
  MAINTAINERS: update RBD block maintainer

John Snow (1):
  block/qcow: Improve error when opening qcow2 files as qcow

Stefan Hajnoczi (3):
  vl: add qemu_add_vm_change_state_handler_prio()
  qdev: add qdev_add_vm_change_state_handler()
  virtio-scsi: restart DMA after iothread

 include/hw/qdev-core.h|  5 
 include/sysemu/sysemu.h   |  2 ++
 block/qcow.c  |  7 -
 block/qcow2.c |  6 ++--
 hw/core/vm-change-state-handler.c | 61 +++
 hw/scsi/scsi-bus.c|  4 +--
 hw/virtio/virtio.c|  4 +--
 vl.c  | 59 +
 MAINTAINERS   |  2 +-
 hw/core/Makefile.objs |  1 +
 10 files changed, 130 insertions(+), 21 deletions(-)
 create mode 100644 hw/core/vm-change-state-handler.c