The following changes since commit b2896c1b09878fd1c4b485b3662f8beecbe0fef4:
Merge tag 'vfio-updates-20230509.0' of https://gitlab.com/alex.williamson/qemu into staging (2023-05-10 11:20:35 +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 58a2e3f5c37be02dac3086b81bdda9414b931edf: block: compile out assert_bdrv_graph_readable() by default (2023-05-10 14:16:54 +0200) ---------------------------------------------------------------- Block layer patches - Graph locking, part 3 (more block drivers) - Compile out assert_bdrv_graph_readable() by default - Add configure options for vmdk, vhdx and vpc - Fix use after free in blockdev_mark_auto_del() - migration: Attempt disk reactivation in more failure scenarios - Coroutine correctness fixes ---------------------------------------------------------------- Emanuele Giuseppe Esposito (5): nbd: Mark nbd_co_do_establish_connection() and callers GRAPH_RDLOCK block: Mark bdrv_co_get_allocated_file_size() and callers GRAPH_RDLOCK block: Mark bdrv_co_get_info() and callers GRAPH_RDLOCK block: Mark bdrv_co_debug_event() GRAPH_RDLOCK block: Mark BlockDriver callbacks for amend job GRAPH_RDLOCK Eric Blake (1): migration: Attempt disk reactivation in more failure scenarios Kevin Wolf (18): block: Fix use after free in blockdev_mark_auto_del() iotests/nbd-reconnect-on-open: Fix NBD socket path qcow2: Don't call bdrv_getlength() in coroutine_fns block: Consistently call bdrv_activate() outside coroutine block: bdrv/blk_co_unref() for calls in coroutine context block: Don't call no_coroutine_fns in qmp_block_resize() iotests: Test resizing image attached to an iothread test-bdrv-drain: Don't modify the graph in coroutines graph-lock: Add GRAPH_UNLOCKED(_PTR) graph-lock: Fix GRAPH_RDLOCK_GUARD*() to be reader lock block: .bdrv_open is non-coroutine and unlocked nbd: Remove nbd_co_flush() wrapper function vhdx: Require GRAPH_RDLOCK for accessing a node's parent list mirror: Require GRAPH_RDLOCK for accessing a node's parent list block: Mark bdrv_query_bds_stats() and callers GRAPH_RDLOCK block: Mark bdrv_query_block_graph_info() and callers GRAPH_RDLOCK block: Mark bdrv_recurse_can_replace() and callers GRAPH_RDLOCK block: Mark bdrv_refresh_limits() and callers GRAPH_RDLOCK Paolo Bonzini (1): block: add missing coroutine_fn annotations Stefan Hajnoczi (2): aio-wait: avoid AioContext lock in aio_wait_bh_oneshot() block: compile out assert_bdrv_graph_readable() by default Vladimir Sementsov-Ogievskiy (1): block: add configure options for excluding vmdk, vhdx and vpc meson_options.txt | 8 ++ configure | 1 + block/coroutines.h | 5 +- block/qcow2.h | 4 +- include/block/aio-wait.h | 2 +- include/block/block-global-state.h | 19 +++- include/block/block-io.h | 23 +++-- include/block/block_int-common.h | 37 +++---- include/block/block_int-global-state.h | 4 +- include/block/graph-lock.h | 20 ++-- include/block/qapi.h | 7 +- include/sysemu/block-backend-global-state.h | 5 +- block.c | 25 ++++- block/amend.c | 8 +- block/blkverify.c | 5 +- block/block-backend.c | 10 +- block/crypto.c | 8 +- block/graph-lock.c | 3 + block/io.c | 12 +-- block/mirror.c | 18 +++- block/nbd.c | 50 +++++---- block/parallels.c | 6 +- block/qapi.c | 6 +- block/qcow.c | 6 +- block/qcow2-refcount.c | 2 +- block/qcow2.c | 48 ++++----- block/qed.c | 24 ++--- block/quorum.c | 4 +- block/raw-format.c | 2 +- block/vdi.c | 6 +- block/vhdx.c | 15 +-- block/vmdk.c | 20 ++-- block/vpc.c | 6 +- blockdev.c | 25 +++-- hw/block/dataplane/virtio-blk.c | 3 +- hw/scsi/virtio-scsi-dataplane.c | 2 - migration/migration.c | 24 +++-- qemu-img.c | 2 + tests/unit/test-bdrv-drain.c | 112 ++++++++++++++------- util/aio-wait.c | 2 +- block/meson.build | 18 +++- meson.build | 5 + scripts/meson-buildoptions.sh | 13 +++ tests/qemu-iotests/tests/iothreads-resize | 71 +++++++++++++ tests/qemu-iotests/tests/iothreads-resize.out | 11 ++ tests/qemu-iotests/tests/nbd-reconnect-on-open | 3 +- tests/qemu-iotests/tests/nbd-reconnect-on-open.out | 4 +- 47 files changed, 474 insertions(+), 240 deletions(-) create mode 100755 tests/qemu-iotests/tests/iothreads-resize create mode 100644 tests/qemu-iotests/tests/iothreads-resize.out
