[PULL v3 00/15] NBD patches through 2026-10-08

Eric Blake posted 15 patches 1 month, 1 week ago
Only 1 patches received!
There is a newer version of this series
docs/tools/qemu-nbd.rst                            |  7 +-
include/migration/qemu-file-types.h                |  6 +-
block.c                                            | 13 +++-
migration/block-dirty-bitmap.c                     | 62 ++++++++++++++--
migration/qemu-file.c                              |  5 +-
nbd/client-connection.c                            | 32 +++++++++
qemu-img.c                                         |  8 ++-
qemu-nbd.c                                         | 22 +++++-
MAINTAINERS                                        |  4 +-
tests/qemu-iotests/026                             | 10 +--
tests/qemu-iotests/026.out                         | 84 ++++++++++++++++++++++
tests/qemu-iotests/071                             |  2 +-
tests/qemu-iotests/071.out                         |  2 +
tests/qemu-iotests/080.out                         |  2 +
tests/qemu-iotests/098.out                         |  4 ++
tests/qemu-iotests/122                             | 33 +++++++++
tests/qemu-iotests/122.out                         | 17 +++++
tests/qemu-iotests/244                             |  2 +-
tests/qemu-iotests/244.out                         |  1 +
tests/qemu-iotests/iotests.py                      |  4 ++
tests/qemu-iotests/tests/file-io-error             |  2 +-
tests/qemu-iotests/tests/file-io-error.out         |  2 +
tests/qemu-iotests/tests/fuse-truncate             |  9 ++-
tests/qemu-iotests/tests/iothreads-nbd-export      |  5 ++
.../tests/migrate-bitmaps-postcopy-test            | 22 ++++++
tests/qemu-iotests/tests/nbd-in-qcow2-chain        |  2 +-
tests/qemu-iotests/tests/nbd-stale-connection      | 62 ++++++++++++++++
tests/qemu-iotests/tests/nbd-stale-connection.out  | 17 +++++
tests/qemu-iotests/tests/nbd-tls-iothread          |  4 ++
tests/qemu-iotests/tests/qemu-nbd-snapshots        | 81 +++++++++++++++++++++
tests/qemu-iotests/tests/qemu-nbd-snapshots.out    | 39 ++++++++++
tests/qemu-iotests/tests/qsd-migrate               |  5 +-
tests/qemu-iotests/tests/qsd-migrate.out           |  1 +
33 files changed, 538 insertions(+), 33 deletions(-)
create mode 100755 tests/qemu-iotests/tests/nbd-stale-connection
create mode 100644 tests/qemu-iotests/tests/nbd-stale-connection.out
create mode 100755 tests/qemu-iotests/tests/qemu-nbd-snapshots
create mode 100644 tests/qemu-iotests/tests/qemu-nbd-snapshots.out
[PULL v3 00/15] NBD patches through 2026-10-08
Posted by Eric Blake 1 month, 1 week ago
The following changes since commit 8ee6c77176cfee03be0ec7665b6652b2f31f1531:

  Merge tag 'pull-ufs-20261012' of https://gitlab.com/jeuk20.kim/qemu into staging (2026-10-13 22:01:07 +0200)

are available in the Git repository at:

  https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-10-08-v3

for you to fetch changes up to 9c4c3cb45b321b6365a1b03df14ca7449523aac0:

  iotests/iothreads-nbd-export: Skip on s390 (2026-10-14 13:07:56 -0500)

[v3: sending only the updated cover letter and patch 11/15]

----------------------------------------------------------------
NBD patches through 2026-10-08

Several fixes, including:
- Eric Blake: Update MAINTAINERS, support qemu-nbd -s -l
- Fiona Ebner: Report flush error on qemu-img convert
- Guillaume Vinke: Fix NBD client on dead connection
- Denis V. Lunev: Fix postcopy dirty bitmap migration
- Eric Farman: Several iotest improvements

----------------------------------------------------------------
Denis V. Lunev (3):
      migration: add QEMU_COUNTED_STRING_SIZE for counted string buffers
      migration/block-dirty-bitmap: fix postcopy abort with bitmaps on several nodes
      iotests/migrate-bitmaps-postcopy-test: add a bitmap on a second node

Eric Blake (2):
      maint: Update eblake's staging repo
      qemu-nbd: Support -s and -l at the same time

Eric Farman (4):
      iotests/nbd-in-qcow2-chain: use default machine
      iotests/nbd-tls-iothread: skip on non-x86 hardware
      iotests/fuse-truncate: skip if FUSE is not usable
      iotests/iothreads-nbd-export: Skip on s390

Fiona Ebner (4):
      iotests: add test cases for failing flush after qemu-img convert
      iotests.py: add filter_qemu()
      block: report flush error during bdrv_close()
      qemu-img: convert: flush target image after copying

Guillaume Vincke (2):
      nbd/client-connection: Fix client returning a closed channel
      iotests: Add coverage for NBD connect thread start delay

 docs/tools/qemu-nbd.rst                            |  7 +-
 include/migration/qemu-file-types.h                |  6 +-
 block.c                                            | 13 +++-
 migration/block-dirty-bitmap.c                     | 62 ++++++++++++++--
 migration/qemu-file.c                              |  5 +-
 nbd/client-connection.c                            | 32 +++++++++
 qemu-img.c                                         |  8 ++-
 qemu-nbd.c                                         | 22 +++++-
 MAINTAINERS                                        |  4 +-
 tests/qemu-iotests/026                             | 10 +--
 tests/qemu-iotests/026.out                         | 84 ++++++++++++++++++++++
 tests/qemu-iotests/071                             |  2 +-
 tests/qemu-iotests/071.out                         |  2 +
 tests/qemu-iotests/080.out                         |  2 +
 tests/qemu-iotests/098.out                         |  4 ++
 tests/qemu-iotests/122                             | 33 +++++++++
 tests/qemu-iotests/122.out                         | 17 +++++
 tests/qemu-iotests/244                             |  2 +-
 tests/qemu-iotests/244.out                         |  1 +
 tests/qemu-iotests/iotests.py                      |  4 ++
 tests/qemu-iotests/tests/file-io-error             |  2 +-
 tests/qemu-iotests/tests/file-io-error.out         |  2 +
 tests/qemu-iotests/tests/fuse-truncate             |  9 ++-
 tests/qemu-iotests/tests/iothreads-nbd-export      |  5 ++
 .../tests/migrate-bitmaps-postcopy-test            | 22 ++++++
 tests/qemu-iotests/tests/nbd-in-qcow2-chain        |  2 +-
 tests/qemu-iotests/tests/nbd-stale-connection      | 62 ++++++++++++++++
 tests/qemu-iotests/tests/nbd-stale-connection.out  | 17 +++++
 tests/qemu-iotests/tests/nbd-tls-iothread          |  4 ++
 tests/qemu-iotests/tests/qemu-nbd-snapshots        | 81 +++++++++++++++++++++
 tests/qemu-iotests/tests/qemu-nbd-snapshots.out    | 39 ++++++++++
 tests/qemu-iotests/tests/qsd-migrate               |  5 +-
 tests/qemu-iotests/tests/qsd-migrate.out           |  1 +
 33 files changed, 538 insertions(+), 33 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/nbd-stale-connection
 create mode 100644 tests/qemu-iotests/tests/nbd-stale-connection.out
 create mode 100755 tests/qemu-iotests/tests/qemu-nbd-snapshots
 create mode 100644 tests/qemu-iotests/tests/qemu-nbd-snapshots.out

-- 
2.56.0
Re: [PULL v3 00/15] NBD patches through 2026-10-08
Posted by Richard Henderson 1 month, 1 week ago
https://gitlab.com/qemu-project/qemu/-/pipelines/2949515618

Still 8 job failures, and this time they're clearly nbd related. Did you
not see these when testing yourself? Or is it a quirk of our k8s ci setup
for merge testing?

r~

On Wed, 14 Oct 2026, 20:43 Eric Blake, <eblake@redhat.com> wrote:

> The following changes since commit
> 8ee6c77176cfee03be0ec7665b6652b2f31f1531:
>
>   Merge tag 'pull-ufs-20261012' of https://gitlab.com/jeuk20.kim/qemu
> into staging (2026-10-13 22:01:07 +0200)
>
> are available in the Git repository at:
>
>   https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-10-08-v3
>
> for you to fetch changes up to 9c4c3cb45b321b6365a1b03df14ca7449523aac0:
>
>   iotests/iothreads-nbd-export: Skip on s390 (2026-10-14 13:07:56 -0500)
>
> [v3: sending only the updated cover letter and patch 11/15]
>
> ----------------------------------------------------------------
> NBD patches through 2026-10-08
>
> Several fixes, including:
> - Eric Blake: Update MAINTAINERS, support qemu-nbd -s -l
> - Fiona Ebner: Report flush error on qemu-img convert
> - Guillaume Vinke: Fix NBD client on dead connection
> - Denis V. Lunev: Fix postcopy dirty bitmap migration
> - Eric Farman: Several iotest improvements
>
> ----------------------------------------------------------------
> Denis V. Lunev (3):
>       migration: add QEMU_COUNTED_STRING_SIZE for counted string buffers
>       migration/block-dirty-bitmap: fix postcopy abort with bitmaps on
> several nodes
>       iotests/migrate-bitmaps-postcopy-test: add a bitmap on a second node
>
> Eric Blake (2):
>       maint: Update eblake's staging repo
>       qemu-nbd: Support -s and -l at the same time
>
> Eric Farman (4):
>       iotests/nbd-in-qcow2-chain: use default machine
>       iotests/nbd-tls-iothread: skip on non-x86 hardware
>       iotests/fuse-truncate: skip if FUSE is not usable
>       iotests/iothreads-nbd-export: Skip on s390
>
> Fiona Ebner (4):
>       iotests: add test cases for failing flush after qemu-img convert
>       iotests.py: add filter_qemu()
>       block: report flush error during bdrv_close()
>       qemu-img: convert: flush target image after copying
>
> Guillaume Vincke (2):
>       nbd/client-connection: Fix client returning a closed channel
>       iotests: Add coverage for NBD connect thread start delay
>
>  docs/tools/qemu-nbd.rst                            |  7 +-
>  include/migration/qemu-file-types.h                |  6 +-
>  block.c                                            | 13 +++-
>  migration/block-dirty-bitmap.c                     | 62 ++++++++++++++--
>  migration/qemu-file.c                              |  5 +-
>  nbd/client-connection.c                            | 32 +++++++++
>  qemu-img.c                                         |  8 ++-
>  qemu-nbd.c                                         | 22 +++++-
>  MAINTAINERS                                        |  4 +-
>  tests/qemu-iotests/026                             | 10 +--
>  tests/qemu-iotests/026.out                         | 84
> ++++++++++++++++++++++
>  tests/qemu-iotests/071                             |  2 +-
>  tests/qemu-iotests/071.out                         |  2 +
>  tests/qemu-iotests/080.out                         |  2 +
>  tests/qemu-iotests/098.out                         |  4 ++
>  tests/qemu-iotests/122                             | 33 +++++++++
>  tests/qemu-iotests/122.out                         | 17 +++++
>  tests/qemu-iotests/244                             |  2 +-
>  tests/qemu-iotests/244.out                         |  1 +
>  tests/qemu-iotests/iotests.py                      |  4 ++
>  tests/qemu-iotests/tests/file-io-error             |  2 +-
>  tests/qemu-iotests/tests/file-io-error.out         |  2 +
>  tests/qemu-iotests/tests/fuse-truncate             |  9 ++-
>  tests/qemu-iotests/tests/iothreads-nbd-export      |  5 ++
>  .../tests/migrate-bitmaps-postcopy-test            | 22 ++++++
>  tests/qemu-iotests/tests/nbd-in-qcow2-chain        |  2 +-
>  tests/qemu-iotests/tests/nbd-stale-connection      | 62 ++++++++++++++++
>  tests/qemu-iotests/tests/nbd-stale-connection.out  | 17 +++++
>  tests/qemu-iotests/tests/nbd-tls-iothread          |  4 ++
>  tests/qemu-iotests/tests/qemu-nbd-snapshots        | 81
> +++++++++++++++++++++
>  tests/qemu-iotests/tests/qemu-nbd-snapshots.out    | 39 ++++++++++
>  tests/qemu-iotests/tests/qsd-migrate               |  5 +-
>  tests/qemu-iotests/tests/qsd-migrate.out           |  1 +
>  33 files changed, 538 insertions(+), 33 deletions(-)
>  create mode 100755 tests/qemu-iotests/tests/nbd-stale-connection
>  create mode 100644 tests/qemu-iotests/tests/nbd-stale-connection.out
>  create mode 100755 tests/qemu-iotests/tests/qemu-nbd-snapshots
>  create mode 100644 tests/qemu-iotests/tests/qemu-nbd-snapshots.out
>
> --
> 2.56.0
>
>
>
Re: [PULL v3 00/15] NBD patches through 2026-10-08
Posted by Eric Blake 1 month, 1 week ago
On Thu, Oct 15, 2026 at 10:53:39AM +0200, Richard Henderson wrote:
> https://gitlab.com/qemu-project/qemu/-/pipelines/2949515618
> 
> Still 8 job failures, and this time they're clearly nbd related. Did you
> not see these when testing yourself? Or is it a quirk of our k8s ci setup
> for merge testing?

Both 'make check' and 'cd build/tests/qemu-iotests; ./check -nbd' are
passing for me, but since k8s seems to be tickling something I didn't
see locally, I'll continue investigating.

Is there an easier way for me to run the CI tests on my own branch
without sending a pull request, so that I can see the same job
failures without having to cost your time first?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org