[PULL v2 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            | 21 ++++++
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, 537 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 v2 00/15] NBD patches through 2026-10-08
Posted by Eric Blake 1 month, 1 week ago
The following changes since commit 615ece3c406b262996e569f29ea6eed0d81c4d8d:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2026-10-09 15:49:53 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 3d794bcd554c3dc196685faf382fdffe7243e674:

  iotests/iothreads-nbd-export: Skip on s390 (2026-10-12 16:23:50 -0500)

[v2: sending only the updated cover letter and patch 2/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            | 21 ++++++
 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, 537 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 v2 00/15] NBD patches through 2026-10-08
Posted by Richard Henderson 1 month, 1 week ago
On 10/12/26 23:29, Eric Blake wrote:
> The following changes since commit 615ece3c406b262996e569f29ea6eed0d81c4d8d:
> 
>    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2026-10-09 15:49:53 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-10-08-v2
> 
> for you to fetch changes up to 3d794bcd554c3dc196685faf382fdffe7243e674:
> 
>    iotests/iothreads-nbd-export: Skip on s390 (2026-10-12 16:23:50 -0500)
> 
> [v2: sending only the updated cover letter and patch 2/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

This still has 13 job failures, including check-python-minreqs.

https://gitlab.com/qemu-project/qemu/-/pipelines/2945631627


r~
Re: [PULL v2 00/15] NBD patches through 2026-10-08
Posted by Eric Blake 1 month, 1 week ago
On Wed, Oct 14, 2026 at 10:02:46AM +0200, Richard Henderson wrote:
> On 10/12/26 23:29, Eric Blake wrote:
> > The following changes since commit 615ece3c406b262996e569f29ea6eed0d81c4d8d:
> > 
> >    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2026-10-09 15:49:53 +0200)
> > 
> > are available in the Git repository at:
> > 
> >    https://gitlab.com/ebblake/qemu.git tags/pull-nbd-2026-10-08-v2
> > 
> > for you to fetch changes up to 3d794bcd554c3dc196685faf382fdffe7243e674:
> > 
> >    iotests/iothreads-nbd-export: Skip on s390 (2026-10-12 16:23:50 -0500)
> > 
> > [v2: sending only the updated cover letter and patch 2/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
> 
> This still has 13 job failures, including check-python-minreqs.
> 
> https://gitlab.com/qemu-project/qemu/-/pipelines/2945631627

Looks like most of the failures were due to the later runners being
canceled after the early failure of the check-python-minreqs syntax
check failure. At any rate, I figured out how to patch that one and
will be posting v3 shortly.

-------------------
************* Module tests.migrate-bitmaps-postcopy-test
tests/migrate-bitmaps-postcopy-test:146:8: W0201: Attribute 'drive1_sha256' defined outside __init__ (attribute-defined-outside-init)

Fixed by:
diff --git a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
index bada325e017..53f7dafc79a 100755
--- a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
+++ b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
@@ -115,6 +115,7 @@ class TestDirtyBitmapPostcopyMigration(iotests.QMPTestCase):
                                                           'discard=unmap')
         self.vm_b = iotests.VM(path_suffix='b').add_drive(disk_b,
                                                           'discard=unmap')
+        self.drive1_sha256 = ""
         # A bitmap on a second node makes postcopy switch nodes after setup
         self.vm_a.add_drive(disk_a1)
         self.vm_b.add_drive(disk_b1)


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