Re: [PULL v2 00/23] Block layer patches

2025-03-14 Thread Stefan Hajnoczi
Applied, thanks.

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


signature.asc
Description: PGP signature


[PULL v2 00/23] Block layer patches

2025-03-13 Thread Kevin Wolf
The following changes since commit 825b96dbcee23d134b691fc75618b59c5f53da32:

  Merge tag 'migration-20250310-pull-request' of 
https://gitlab.com/farosas/qemu into staging (2025-03-11 09:32:07 +0800)

are available in the Git repository at:

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

for you to fetch changes up to df957115c46845e2c0ccc29ac0a75eb9700a9a0d:

  scripts/qcow2-to-stdout.py: Add script to write qcow2 images to stdout 
(2025-03-13 17:57:23 +0100)


Block layer patches

- virtio-scsi: add iothread-vq-mapping parameter
- Improve writethrough performance
- Fix missing zero init in bdrv_snapshot_goto()
- Added scripts/qcow2-to-stdout.py
- Code cleanup and iotests fixes


Alberto Garcia (1):
  scripts/qcow2-to-stdout.py: Add script to write qcow2 images to stdout

Kevin Wolf (8):
  block: Remove unused blk_op_is_blocked()
  block: Zero block driver state before reopening
  file-posix: Support FUA writes
  block/io: Ignore FUA with cache.no-flush=on
  aio: Create AioPolledEvent
  aio-posix: Factor out adjust_polling_time()
  aio-posix: Separate AioPolledEvent per AioHandler
  aio-posix: Adjust polling time also for new handlers

Stefan Hajnoczi (13):
  scsi-disk: drop unused SCSIDiskState->bh field
  dma: use current AioContext for dma_blk_io()
  scsi: track per-SCSIRequest AioContext
  scsi: introduce requests_lock
  virtio-scsi: introduce event and ctrl virtqueue locks
  virtio-scsi: protect events_dropped field
  virtio-scsi: perform TMFs in appropriate AioContexts
  virtio-blk: extract cleanup_iothread_vq_mapping() function
  virtio-blk: tidy up iothread_vq_mapping functions
  virtio: extract iothread-vq-mapping.h API
  virtio-scsi: add iothread-vq-mapping parameter
  virtio-scsi: handle ctrl virtqueue in main loop
  virtio-scsi: only expose cmd vqs via iothread-vq-mapping

Thomas Huth (1):
  iotests: Limit qsd-migrate to working formats

 include/block/aio.h |   5 +-
 include/block/raw-aio.h |  19 +-
 include/hw/scsi/scsi.h  |   8 +-
 include/hw/virtio/iothread-vq-mapping.h |  45 +++
 include/hw/virtio/virtio-scsi.h |  15 +-
 include/system/block-backend-global-state.h |   1 -
 include/system/dma.h|   3 +-
 util/aio-posix.h|   1 +
 block/block-backend.c   |  12 -
 block/file-posix.c  |  29 +-
 block/io.c  |   4 +
 block/io_uring.c|  25 +-
 block/linux-aio.c   |  25 +-
 block/snapshot.c|   1 +
 hw/block/virtio-blk.c   | 132 +---
 hw/ide/core.c   |   3 +-
 hw/ide/macio.c  |   3 +-
 hw/scsi/scsi-bus.c  | 121 +--
 hw/scsi/scsi-disk.c |  24 +-
 hw/scsi/virtio-scsi-dataplane.c | 103 --
 hw/scsi/virtio-scsi.c   | 502 
 hw/virtio/iothread-vq-mapping.c | 131 
 system/dma-helpers.c|   8 +-
 util/aio-posix.c| 114 ---
 util/async.c|   1 -
 scripts/qcow2-to-stdout.py  | 449 +
 hw/virtio/meson.build   |   1 +
 meson.build |   8 +
 tests/qemu-iotests/051.pc.out   |   2 +-
 tests/qemu-iotests/tests/qsd-migrate|   2 +-
 30 files changed, 1286 insertions(+), 511 deletions(-)
 create mode 100644 include/hw/virtio/iothread-vq-mapping.h
 create mode 100644 hw/virtio/iothread-vq-mapping.c
 create mode 100755 scripts/qcow2-to-stdout.py




Re: [Qemu-devel] [PULL v2 00/23] Block layer patches

2015-09-15 Thread Peter Maydell
On 14 September 2015 at 16:25, Kevin Wolf  wrote:
> The following changes since commit 2b750d9d261bda7f75b39dfc1e1e5f22502929d5:
>
>   Merge remote-tracking branch 'remotes/aurel/tags/pull-sh4-next-20150913' 
> into staging (2015-09-14 10:46:38 +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 2ac01520be8717f3492b10a083c3e0e22cb52cda:
>
>   qcow2: Make qcow2_alloc_bytes() more explicit (2015-09-14 16:51:37 +0200)
>
> 
> Block layer patches (v2)

Applied, thanks.

-- PMM



[Qemu-devel] [PULL v2 00/23] Block layer patches

2015-09-14 Thread Kevin Wolf
The following changes since commit 2b750d9d261bda7f75b39dfc1e1e5f22502929d5:

  Merge remote-tracking branch 'remotes/aurel/tags/pull-sh4-next-20150913' into 
staging (2015-09-14 10:46:38 +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 2ac01520be8717f3492b10a083c3e0e22cb52cda:

  qcow2: Make qcow2_alloc_bytes() more explicit (2015-09-14 16:51:37 +0200)


Block layer patches (v2)


Kevin Wolf (14):
  qcow2: Rename BDRVQcowState to BDRVQcow2State
  block: Allow specifying driver-specific options to reopen
  qemu-io: Remove duplicate 'open' error message
  qemu-io: Add command 'reopen'
  qcow2: Improve error message
  qcow2: Factor out qcow2_update_options()
  qcow2: Move qcow2_update_options() call up
  qcow2: Move rest of option handling to qcow2_update_options()
  qcow2: Leave s unchanged on qcow2_update_options() failure
  qcow2: Fix memory leak in qcow2_update_options() error path
  qcow2: Make qcow2_update_options() suitable for transactions
  qcow2: Support updating driver-specific options in reopen
  qemu-iotests: Reopen qcow2 with lazy-refcounts change
  qemu-iotests: More qcow2 reopen tests

Max Reitz (8):
  block: Always pass NULL as drv for bdrv_open()
  block: Drop drv parameter from bdrv_open()
  block: Drop drv parameter from bdrv_open_inherit()
  block: Drop drv parameter from bdrv_fill_options()
  block: Drop bdrv_find_whitelisted_format()
  qcow2: Make size_to_clusters() return uint64_t
  iotests: Add test for checking large image files
  qcow2: Make qcow2_alloc_bytes() more explicit

Radoslav Gerganov (1):
  vmdk: Fix next_cluster_sector for compressed write

 block.c| 150 +++---
 block/block-backend.c  |   2 +-
 block/commit.c |   4 +-
 block/parallels.c  |   2 +-
 block/qcow.c   |   2 +-
 block/qcow2-cache.c|  14 +-
 block/qcow2-cluster.c  |  76 +++
 block/qcow2-refcount.c |  76 ---
 block/qcow2-snapshot.c |  20 +-
 block/qcow2.c  | 486 +
 block/qcow2.h  |  26 +--
 block/qed.c|   2 +-
 block/sheepdog.c   |   5 +-
 block/vdi.c|   2 +-
 block/vhdx.c   |   2 +-
 block/vmdk.c   |  15 +-
 block/vpc.c|   2 +-
 block/vvfat.c  |   8 +-
 blockdev.c |  72 +++
 include/block/block.h  |   9 +-
 qemu-io-cmds.c |  90 +
 qemu-io.c  |   1 -
 tests/qemu-iotests/039 |  27 +++
 tests/qemu-iotests/039.out |  18 ++
 tests/qemu-iotests/137 | 145 ++
 tests/qemu-iotests/137.out |  42 
 tests/qemu-iotests/138 |  73 +++
 tests/qemu-iotests/138.out |   9 +
 tests/qemu-iotests/group   |   2 +
 29 files changed, 973 insertions(+), 409 deletions(-)
 create mode 100755 tests/qemu-iotests/137
 create mode 100644 tests/qemu-iotests/137.out
 create mode 100755 tests/qemu-iotests/138
 create mode 100644 tests/qemu-iotests/138.out