[PULL 00/13] NBD patches through 2023-09-07

Eric Blake posted 13 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230908013535.990731-15-eblake@redhat.com
Maintainers: Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Coiby Xu <Coiby.Xu@gmail.com>, Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Leonardo Bras <leobras@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>
docs/tools/qemu-nbd.rst          |   4 +-
include/block/nbd.h              |   3 +-
include/io/channel-util.h        |  23 +++++++
include/io/channel.h             |  69 +++++++++-----------
include/qemu/vhost-user-server.h |   1 +
block/nbd.c                      |  11 +---
io/channel-command.c             |  10 ++-
io/channel-file.c                |   9 ++-
io/channel-null.c                |   3 +-
io/channel-socket.c              |   9 ++-
io/channel-tls.c                 |   6 +-
io/channel-util.c                |  24 +++++++
io/channel.c                     | 124 ++++++++++++++++++++++++++----------
migration/channel-block.c        |   3 +-
migration/rdma.c                 |  25 ++++----
nbd/client-connection.c          |   3 +-
nbd/client.c                     |  14 ++---
nbd/server.c                     |  14 +----
qemu-nbd.c                       | 133 +++++++++++++++++++++------------------
scsi/qemu-pr-helper.c            |   4 +-
util/iov.c                       |   2 +-
util/vhost-user-server.c         |  27 +++++---
tests/qemu-iotests/197           |   8 +--
tests/qemu-iotests/197.out       |  18 +++---
24 files changed, 328 insertions(+), 219 deletions(-)
[PULL 00/13] NBD patches through 2023-09-07
Posted by Eric Blake 1 year, 2 months ago
The following changes since commit 03a3a62fbd0aa5227e978eef3c67d3978aec9e5f:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2023-09-07 10:29:06 -0400)

are available in the Git repository at:

  https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2023-09-07

for you to fetch changes up to 737ff1b137b7ce1d613c3851e0efaae9b820dbc0:

  qemu-nbd: document -v behavior in respect to --fork in man (2023-09-07 20:32:11 -0500)

----------------------------------------------------------------
NBD patches for 2023-09-07

- Andrey Drobyshev - fix regression in iotest 197 under -nbd
- Stefan Hajnoczi - allow coroutine read and write context to split
across threads
- Philippe Mathieu-Daudé - remove a VLA allocation
- Denis V. Lunev - fix regression in iotest 233 with qemu-nbd -v --fork

----------------------------------------------------------------
Andrey Drobyshev (1):
      qemu-iotests/197: use more generic commands for formats other than qcow2

Denis V. Lunev (7):
      qemu-nbd: improve error message for dup2 error
      qemu-nbd: define struct NbdClientOpts when HAVE_NBD_DEVICE is not defined
      qemu-nbd: move srcpath into struct NbdClientOpts
      qemu-nbd: put saddr into into struct NbdClientOpts
      qemu-nbd: invent nbd_client_release_pipe() helper
      qemu-nbd: Restore "qemu-nbd -v --fork" output
      qemu-nbd: document -v behavior in respect to --fork in man

Philippe Mathieu-Daudé (1):
      util/iov: Avoid dynamic stack allocation

Stefan Hajnoczi (4):
      nbd: drop unused nbd_receive_negotiate() aio_context argument
      nbd: drop unused nbd_start_negotiate() aio_context argument
      io: check there are no qio_channel_yield() coroutines during ->finalize()
      io: follow coroutine AioContext in qio_channel_yield()

 docs/tools/qemu-nbd.rst          |   4 +-
 include/block/nbd.h              |   3 +-
 include/io/channel-util.h        |  23 +++++++
 include/io/channel.h             |  69 +++++++++-----------
 include/qemu/vhost-user-server.h |   1 +
 block/nbd.c                      |  11 +---
 io/channel-command.c             |  10 ++-
 io/channel-file.c                |   9 ++-
 io/channel-null.c                |   3 +-
 io/channel-socket.c              |   9 ++-
 io/channel-tls.c                 |   6 +-
 io/channel-util.c                |  24 +++++++
 io/channel.c                     | 124 ++++++++++++++++++++++++++----------
 migration/channel-block.c        |   3 +-
 migration/rdma.c                 |  25 ++++----
 nbd/client-connection.c          |   3 +-
 nbd/client.c                     |  14 ++---
 nbd/server.c                     |  14 +----
 qemu-nbd.c                       | 133 +++++++++++++++++++++------------------
 scsi/qemu-pr-helper.c            |   4 +-
 util/iov.c                       |   2 +-
 util/vhost-user-server.c         |  27 +++++---
 tests/qemu-iotests/197           |   8 +--
 tests/qemu-iotests/197.out       |  18 +++---
 24 files changed, 328 insertions(+), 219 deletions(-)

-- 
2.41.0