qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/18] Block layer patches
@ 2025-10-29 12:06 Kevin Wolf
  2025-10-29 12:06 ` [PULL 01/18] tests/qemu-iotests: Mark the 'inactive-node-nbd' as unsupported with -luks Kevin Wolf
                   ` (18 more replies)
  0 siblings, 19 replies; 28+ messages in thread
From: Kevin Wolf @ 2025-10-29 12:06 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, qemu-devel

The following changes since commit bc831f37398b51dfe65d99a67bcff9352f84a9d2:

  Merge tag 'hw-misc-20251028' of https://github.com/philmd/qemu into staging (2025-10-28 11:48:05 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 911992fd6ec7a84c7cc82831b4bcd8a2ca5ccc76:

  qemu-img info: Add cache mode option (2025-10-29 12:10:10 +0100)

----------------------------------------------------------------
Block layer patches

- Expose block limits in monitor and qemu-img info
- Resize: Refresh filter node size when its child was resized
- Support configuring stats-intervals in -device (instead of only -drive)
- luks: Fix QMP x-blockdev-amend crash and image creation with detached-header
- iotests: Several test case fixes
- Code cleanups

----------------------------------------------------------------
Bin Guo (1):
      block/monitor: Use hmp_handle_error to report error

Chandan Somani (1):
      block: enable stats-intervals for storage devices

Daniel P. Berrangé (2):
      block: remove 'detached-header' option from opts after use
      block: fix luks 'amend' when run in coroutine

Eric Blake (2):
      iotests: Adjust nbd expected outputs to match current behavior
      iotests: Adjust fuse-allow-other expected output

Fiona Ebner (5):
      include/block/block_int-common: document when resize callback is used
      block: make bdrv_co_parent_cb_resize() a proper IO API function
      block: implement 'resize' callback for child_of_bds class
      iotests: add test for resizing a node below filters
      iotests: add test for resizing a 'file' node below a 'raw' node

Kevin Wolf (4):
      block: Improve comments in BlockLimits
      block: Expose block limits for images in QMP
      qemu-img info: Optionally show block limits
      qemu-img info: Add cache mode option

Peter Maydell (1):
      MAINTAINERS: Mark VHDX block driver as "Odd Fixes"

Richard W.M. Jones (1):
      block/curl.c: Fix CURLOPT_VERBOSE parameter type

Thomas Huth (1):
      tests/qemu-iotests: Mark the 'inactive-node-nbd' as unsupported with -luks

 qapi/block-core.json                             | 66 +++++++++++++++++++++
 docs/tools/qemu-img.rst                          |  6 +-
 include/block/accounting.h                       |  5 +-
 include/block/block_int-common.h                 | 35 +++++++-----
 include/block/block_int-io.h                     |  6 ++
 include/block/qapi.h                             |  2 +-
 include/hw/block/block.h                         |  7 ++-
 block.c                                          | 12 ++++
 block/accounting.c                               | 17 +++++-
 block/crypto.c                                   | 32 ++++++++---
 block/curl.c                                     |  2 +-
 block/io.c                                       |  9 +--
 block/monitor/block-hmp-cmds.c                   | 45 ++++++++-------
 block/qapi.c                                     | 66 +++++++++++++++++++--
 blockdev.c                                       |  3 +-
 hw/block/block.c                                 |  7 ++-
 qemu-img.c                                       | 40 ++++++++++---
 MAINTAINERS                                      |  2 +-
 qemu-img-cmds.hx                                 |  4 +-
 tests/qemu-iotests/094.out                       |  2 +-
 tests/qemu-iotests/119.out                       |  2 +-
 tests/qemu-iotests/172.out                       | 38 ++++++++++++
 tests/qemu-iotests/184                           |  5 +-
 tests/qemu-iotests/184.out                       |  8 ---
 tests/qemu-iotests/267.out                       |  8 +--
 tests/qemu-iotests/common.filter                 |  3 +-
 tests/qemu-iotests/tests/fuse-allow-other.out    |  6 +-
 tests/qemu-iotests/tests/inactive-node-nbd       |  1 +
 tests/qemu-iotests/tests/resize-below-filter     | 73 ++++++++++++++++++++++++
 tests/qemu-iotests/tests/resize-below-filter.out |  5 ++
 tests/qemu-iotests/tests/resize-below-raw        | 53 +++++++++++++++++
 tests/qemu-iotests/tests/resize-below-raw.out    |  5 ++
 32 files changed, 479 insertions(+), 96 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/resize-below-filter
 create mode 100644 tests/qemu-iotests/tests/resize-below-filter.out
 create mode 100755 tests/qemu-iotests/tests/resize-below-raw
 create mode 100644 tests/qemu-iotests/tests/resize-below-raw.out



^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PULL 00/18] Block layer patches
@ 2023-05-17 16:50 Kevin Wolf
  0 siblings, 0 replies; 28+ messages in thread
From: Kevin Wolf @ 2023-05-17 16:50 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, richard.henderson, qemu-devel

The following changes since commit 6972ef1440a9d685482d78672620a7482f2bd09a:

  Merge tag 'pull-tcg-20230516-3' of https://gitlab.com/rth7680/qemu into staging (2023-05-16 21:30:27 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 75b2591bbce5dc9f3da89f140b7bdc00e92fa8ec:

  tested: add test for nested aio_poll() in poll handlers (2023-05-17 18:01:22 +0200)

----------------------------------------------------------------
Block layer patches

- qcow2 spec: Rename "zlib" compression to "deflate"
- Honour graph read lock even in the main thread + prerequisite fixes
- aio-posix: do not nest poll handlers (fixes infinite recursion)
- Refactor QMP blockdev transactions
- iotests/245: Check if 'compress' driver is available

----------------------------------------------------------------
Akihiro Suda (1):
      docs/interop/qcow2.txt: fix description about "zlib" clusters

Kevin Wolf (9):
      block: Call .bdrv_co_create(_opts) unlocked
      block/export: Fix null pointer dereference in error path
      qcow2: Unlock the graph in qcow2_do_open() where necessary
      qemu-img: Take graph lock more selectively
      test-bdrv-drain: Take graph lock more selectively
      test-bdrv-drain: Call bdrv_co_unref() in coroutine context
      blockjob: Adhere to rate limit even when reentered early
      graph-lock: Honour read locks even in the main thread
      iotests/245: Check if 'compress' driver is available

Stefan Hajnoczi (2):
      aio-posix: do not nest poll handlers
      tested: add test for nested aio_poll() in poll handlers

Vladimir Sementsov-Ogievskiy (6):
      blockdev: refactor transaction to use Transaction API
      blockdev: transactions: rename some things
      blockdev: qmp_transaction: refactor loop to classic for
      blockdev: transaction: refactor handling transaction properties
      blockdev: use state.bitmap in block-dirty-bitmap-add action
      blockdev: qmp_transaction: drop extra generic layer

 docs/interop/qcow2.txt             |  10 +-
 include/block/block-global-state.h |   8 +-
 include/block/block_int-common.h   |   4 +-
 include/block/blockjob_int.h       |  14 +-
 block.c                            |   1 -
 block/commit.c                     |   7 +-
 block/create.c                     |   1 -
 block/crypto.c                     |  25 +-
 block/export/export.c              |   6 +-
 block/graph-lock.c                 |  10 -
 block/mirror.c                     |  23 +-
 block/parallels.c                  |   6 +-
 block/qcow.c                       |   6 +-
 block/qcow2.c                      |  43 ++-
 block/qed.c                        |   6 +-
 block/raw-format.c                 |   2 +-
 block/stream.c                     |   7 +-
 block/vdi.c                        |  11 +-
 block/vhdx.c                       |   8 +-
 block/vmdk.c                       |  27 +-
 block/vpc.c                        |   6 +-
 blockdev.c                         | 606 +++++++++++++++----------------------
 blockjob.c                         |  22 +-
 qemu-img.c                         |   5 +-
 tests/unit/test-bdrv-drain.c       |   6 +-
 tests/unit/test-nested-aio-poll.c  | 130 ++++++++
 util/aio-posix.c                   |  11 +
 tests/qemu-iotests/245             |   7 +-
 tests/qemu-iotests/245.out         |   9 +-
 tests/unit/meson.build             |   1 +
 30 files changed, 541 insertions(+), 487 deletions(-)
 create mode 100644 tests/unit/test-nested-aio-poll.c



^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PULL 00/18] Block layer patches
@ 2022-09-30 16:52 Kevin Wolf
  2022-10-03 23:02 ` Stefan Hajnoczi
  0 siblings, 1 reply; 28+ messages in thread
From: Kevin Wolf @ 2022-09-30 16:52 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, stefanha, qemu-devel

The following changes since commit c8de6ec63d766ca1998c5af468483ce912fdc0c2:

  Merge tag 'pull-request-2022-09-28' of https://gitlab.com/thuth/qemu into staging (2022-09-28 17:04:11 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 176e4961bb33d559da1af441fb0ee2e0cb8245ae:

  hw/ide/core.c: Implement ATA INITIALIZE_DEVICE_PARAMETERS command (2022-09-30 18:43:44 +0200)

----------------------------------------------------------------
Block layer patches

- Fix missing block_acct_setup() with -blockdev
- Keep auto_backing_file post-migration
- file-posix: Fixed O_DIRECT memory alignment
- ide: Fix state after EXECUTE DEVICE DIAGNOSTIC and implement
  INITIALIZE DEVICE PARAMETERS
- qemu-img: Wean documentation and help output off '?' for help
- qcow2: fix memory leak and compiler warning
- Code cleanups

----------------------------------------------------------------
Denis V. Lunev (4):
      block: pass OnOffAuto instead of bool to block_acct_setup()
      block: add missed block_acct_setup with new block device init procedure
      block: use bdrv_is_sg() helper instead of raw bs->sg reading
      block: make serializing requests functions 'void'

Hanna Reitz (3):
      block/qcow2: Keep auto_backing_file if possible
      block/qed: Keep auto_backing_file if possible
      iotests/backing-file-invalidation: Add new test

Keith Busch (2):
      block: move bdrv_qiov_is_aligned to file-posix
      block: use the request length for iov alignment

Lev Kujawski (5):
      piix_ide_reset: Use pci_set_* functions instead of direct access
      tests/qtest/ide-test.c: Create disk image for use as a secondary
      hw/ide/core: Clear LBA and drive bits for EXECUTE DEVICE DIAGNOSTIC
      tests/qtest/ide-test: Verify that DIAGNOSTIC clears DEV to zero
      hw/ide/core.c: Implement ATA INITIALIZE_DEVICE_PARAMETERS command

Markus Armbruster (1):
      qemu-img: Wean documentation and help output off '?' for help

Philippe Mathieu-Daudé (1):
      block/qcow2-bitmap: Add missing cast to silent GCC error

Stefan Hajnoczi (1):
      gluster: stop using .bdrv_needs_filename

lu zhipeng (1):
      qcow2: fix memory leak in qcow2_read_extensions

 docs/tools/qemu-img.rst                            |   2 +-
 include/block/accounting.h                         |   6 +-
 include/block/block-io.h                           |   1 -
 include/block/block_int-io.h                       |   2 +-
 include/hw/block/block.h                           |   7 +-
 include/hw/ide/internal.h                          |   3 +
 block/accounting.c                                 |  26 +++-
 block/file-posix.c                                 |  24 +++-
 block/gluster.c                                    |   4 -
 block/io.c                                         |  44 +-----
 block/iscsi.c                                      |   2 +-
 block/qcow2-bitmap.c                               |   2 +-
 block/qcow2.c                                      |  22 ++-
 block/qed.c                                        |  15 +-
 block/raw-format.c                                 |   4 +-
 blockdev.c                                         |  17 ++-
 hw/block/block.c                                   |   2 +
 hw/ide/core.c                                      |  35 ++++-
 hw/ide/piix.c                                      |  17 +--
 qemu-img.c                                         |   4 +-
 tests/qtest/ide-test.c                             |  72 +++++++---
 tests/qemu-iotests/172.out                         |  76 +++++++++++
 tests/qemu-iotests/227.out                         |   4 +-
 tests/qemu-iotests/tests/backing-file-invalidation | 152 +++++++++++++++++++++
 .../tests/backing-file-invalidation.out            |   5 +
 25 files changed, 447 insertions(+), 101 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/backing-file-invalidation
 create mode 100644 tests/qemu-iotests/tests/backing-file-invalidation.out



^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PULL 00/18] Block layer patches
@ 2022-06-09 17:21 Kevin Wolf
  2022-06-09 20:18 ` Richard Henderson
  0 siblings, 1 reply; 28+ messages in thread
From: Kevin Wolf @ 2022-06-09 17:21 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, qemu-devel

The following changes since commit 028f2361d0c2d28d6f918fe618f389228ac22b60:

  Merge tag 'pull-target-arm-20220609' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-06-09 06:47:03 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7f9a8b3342ff00d3398fdc08264948762d748edb:

  nbd: Drop dead code spotted by Coverity (2022-06-09 18:07:17 +0200)

----------------------------------------------------------------
Block layer patches

- Add vduse-blk export
- Dirty bitmaps: Fix and improve bitmap merge
- gluster: correctly set max_pdiscard
- rbd: report a better error when namespace does not exist
- aio_wait_kick: add missing memory barrier
- Code cleanups

----------------------------------------------------------------
Emanuele Giuseppe Esposito (1):
      aio_wait_kick: add missing memory barrier

Eric Blake (1):
      nbd: Drop dead code spotted by Coverity

Fabian Ebner (1):
      block/gluster: correctly set max_pdiscard

Stefan Hajnoczi (3):
      block: drop unused bdrv_co_drain() API
      block: get rid of blk->guest_block_size
      qsd: document vduse-blk exports

Stefano Garzarella (1):
      block/rbd: report a better error when namespace does not exist

Vladimir Sementsov-Ogievskiy (3):
      block: block_dirty_bitmap_merge(): fix error path
      block: improve block_dirty_bitmap_merge(): don't allocate extra bitmap
      block: simplify handling of try to merge different sized bitmaps

Xie Yongji (8):
      block: Support passing NULL ops to blk_set_dev_ops()
      block/export: Fix incorrect length passed to vu_queue_push()
      block/export: Abstract out the logic of virtio-blk I/O process
      linux-headers: Add vduse.h
      libvduse: Add VDUSE (vDPA Device in Userspace) library
      vduse-blk: Implement vduse-blk export
      vduse-blk: Add vduse-blk resize support
      libvduse: Add support for reconnecting

 qapi/block-export.json                      |   28 +-
 docs/tools/qemu-storage-daemon.rst          |   21 +
 meson_options.txt                           |    4 +
 block/export/vduse-blk.h                    |   20 +
 block/export/virtio-blk-handler.h           |   37 +
 include/block/aio-wait.h                    |    2 +
 include/block/block-io.h                    |    1 -
 include/block/block_int-io.h                |    2 +-
 include/qemu/hbitmap.h                      |   15 +-
 include/sysemu/block-backend-io.h           |    1 -
 linux-headers/linux/vduse.h                 |  306 ++++++
 subprojects/libvduse/include/atomic.h       |    1 +
 subprojects/libvduse/include/compiler.h     |    1 +
 subprojects/libvduse/libvduse.h             |  247 +++++
 block/backup.c                              |    6 +-
 block/block-backend.c                       |   12 +-
 block/dirty-bitmap.c                        |   26 +-
 block/export/export.c                       |    6 +
 block/export/vduse-blk.c                    |  341 +++++++
 block/export/vhost-user-blk-server.c        |  261 +----
 block/export/virtio-blk-handler.c           |  240 +++++
 block/gluster.c                             |    2 +-
 block/io.c                                  |   15 -
 block/monitor/bitmap-qmp-cmds.c             |   40 +-
 block/nbd.c                                 |    8 +-
 block/rbd.c                                 |   24 +
 hw/block/virtio-blk.c                       |    1 -
 hw/block/xen-block.c                        |    1 -
 hw/ide/core.c                               |    1 -
 hw/scsi/scsi-disk.c                         |    1 -
 hw/scsi/scsi-generic.c                      |    1 -
 storage-daemon/qemu-storage-daemon.c        |    9 +
 subprojects/libvduse/libvduse.c             | 1392 +++++++++++++++++++++++++++
 util/aio-wait.c                             |   16 +-
 util/hbitmap.c                              |   25 +-
 MAINTAINERS                                 |    9 +
 block/export/meson.build                    |    7 +-
 meson.build                                 |   34 +
 scripts/meson-buildoptions.sh               |    7 +
 scripts/update-linux-headers.sh             |    2 +-
 subprojects/libvduse/linux-headers/linux    |    1 +
 subprojects/libvduse/meson.build            |   10 +
 subprojects/libvduse/standard-headers/linux |    1 +
 43 files changed, 2830 insertions(+), 355 deletions(-)
 create mode 100644 block/export/vduse-blk.h
 create mode 100644 block/export/virtio-blk-handler.h
 create mode 100644 linux-headers/linux/vduse.h
 create mode 120000 subprojects/libvduse/include/atomic.h
 create mode 120000 subprojects/libvduse/include/compiler.h
 create mode 100644 subprojects/libvduse/libvduse.h
 create mode 100644 block/export/vduse-blk.c
 create mode 100644 block/export/virtio-blk-handler.c
 create mode 100644 subprojects/libvduse/libvduse.c
 create mode 120000 subprojects/libvduse/linux-headers/linux
 create mode 100644 subprojects/libvduse/meson.build
 create mode 120000 subprojects/libvduse/standard-headers/linux



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

end of thread, other threads:[~2025-10-31 11:07 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-29 12:06 [PULL 00/18] Block layer patches Kevin Wolf
2025-10-29 12:06 ` [PULL 01/18] tests/qemu-iotests: Mark the 'inactive-node-nbd' as unsupported with -luks Kevin Wolf
2025-10-29 12:06 ` [PULL 02/18] block: remove 'detached-header' option from opts after use Kevin Wolf
2025-10-29 12:06 ` [PULL 03/18] block: fix luks 'amend' when run in coroutine Kevin Wolf
2025-10-31 10:18   ` Michael Tokarev
2025-10-31 11:05     ` Daniel P. Berrangé
2025-10-29 12:06 ` [PULL 04/18] block/monitor: Use hmp_handle_error to report error Kevin Wolf
2025-10-29 12:06 ` [PULL 05/18] block/curl.c: Fix CURLOPT_VERBOSE parameter type Kevin Wolf
2025-10-29 12:06 ` [PULL 06/18] iotests: Adjust nbd expected outputs to match current behavior Kevin Wolf
2025-10-29 12:06 ` [PULL 07/18] iotests: Adjust fuse-allow-other expected output Kevin Wolf
2025-10-29 12:06 ` [PULL 08/18] block: enable stats-intervals for storage devices Kevin Wolf
2025-10-29 12:06 ` [PULL 09/18] MAINTAINERS: Mark VHDX block driver as "Odd Fixes" Kevin Wolf
2025-10-29 12:06 ` [PULL 10/18] include/block/block_int-common: document when resize callback is used Kevin Wolf
2025-10-29 12:06 ` [PULL 11/18] block: make bdrv_co_parent_cb_resize() a proper IO API function Kevin Wolf
2025-10-29 12:06 ` [PULL 12/18] block: implement 'resize' callback for child_of_bds class Kevin Wolf
2025-10-29 12:06 ` [PULL 13/18] iotests: add test for resizing a node below filters Kevin Wolf
2025-10-29 12:06 ` [PULL 14/18] iotests: add test for resizing a 'file' node below a 'raw' node Kevin Wolf
2025-10-29 12:06 ` [PULL 15/18] block: Improve comments in BlockLimits Kevin Wolf
2025-10-29 12:06 ` [PULL 16/18] block: Expose block limits for images in QMP Kevin Wolf
2025-10-29 12:06 ` [PULL 17/18] qemu-img info: Optionally show block limits Kevin Wolf
2025-10-29 12:06 ` [PULL 18/18] qemu-img info: Add cache mode option Kevin Wolf
2025-10-31  9:25 ` [PULL 00/18] Block layer patches Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2023-05-17 16:50 Kevin Wolf
2022-09-30 16:52 Kevin Wolf
2022-10-03 23:02 ` Stefan Hajnoczi
2022-06-09 17:21 Kevin Wolf
2022-06-09 20:18 ` Richard Henderson
2022-06-13 17:04   ` Kevin Wolf

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).