From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09452EE7FE4 for ; Fri, 8 Sep 2023 12:28:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeaaf-0006aL-Rf; Fri, 08 Sep 2023 08:28:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeaaX-0006Z4-Eb for qemu-devel@nongnu.org; Fri, 08 Sep 2023 08:27:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeaaU-00085b-F6 for qemu-devel@nongnu.org; Fri, 08 Sep 2023 08:27:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694176069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KgzHmQIyX3UMiOvMFf6m51kXfQ9Ir2tyAYsrIgFqwaY=; b=ixO7z2til4DclP01X5WqAMMvEci8o71VQ6mZ9JSMT6/Qhp5DnKFSM5tcDJCM/SREnccvpO utWgJrMCs5MHNhIJoc5CPF5+fEcdjxyHamyaNKzGaiNYgeP4DfF/ZqPD92l1Au1NrnGzd7 GY3N3sTJ7c/E5ybrxKzYfqnlcSKIm5U= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-625-7IBIOmXkOGacdE657hdxUA-1; Fri, 08 Sep 2023 08:27:47 -0400 X-MC-Unique: 7IBIOmXkOGacdE657hdxUA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7DC80280FED3 for ; Fri, 8 Sep 2023 12:27:47 +0000 (UTC) Received: from green.redhat.com (unknown [10.2.16.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4B31B1460FE5 for ; Fri, 8 Sep 2023 12:27:47 +0000 (UTC) From: Eric Blake To: qemu-devel@nongnu.org Subject: [PULL v2 00/13] NBD patches for 2023-09-07 Date: Fri, 8 Sep 2023 07:26:26 -0500 Message-ID: <20230908122625.1031340-15-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Received-SPF: pass client-ip=170.10.129.124; envelope-from=eblake@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org 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-v2 for you to fetch changes up to 35e087de085cd6cf7e4c64c9b59b62c37ddcd1bd: qemu-nbd: document -v behavior in respect to --fork in man (2023-09-08 07:21:43 -0500) v2: fix build failure when stderr is macro (only posting changed patch to list) ---------------------------------------------------------------- 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