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 X-Spam-Level: X-Spam-Status: No, score=-21.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C66BC433E0 for ; Mon, 15 Mar 2021 12:37:11 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AB3DB64E10 for ; Mon, 15 Mar 2021 12:37:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB3DB64E10 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLmT7-0008RK-Ry for qemu-devel@archiver.kernel.org; Mon, 15 Mar 2021 08:37:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLmRu-0007SA-Ex for qemu-devel@nongnu.org; Mon, 15 Mar 2021 08:35:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLmRl-00006J-Uu for qemu-devel@nongnu.org; Mon, 15 Mar 2021 08:35:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615811743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6vB+a/ewDsLmnCz7/thH/RLkwP3Gbxw4mBDSZMAg1ac=; b=Pyj3r94g5jBs8LUKCZ1RAehmBr4h0Yu4nDpg6+rqIZst+67RtR7dKz0QPv0f6lsUYxJNjp 4KvtI6eiyZPi/7BVZ/qOf/mQIV4Ew4yEDjotR0P8AJImbZTlNY6mohHB7VKZsU9YrTBO9j DxhhqaQX6nRfv8KJpr12AFwNzgB6+DM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-11-uJGb_uO5ObqCKfILCZn-Vw-1; Mon, 15 Mar 2021 08:35:41 -0400 X-MC-Unique: uJGb_uO5ObqCKfILCZn-Vw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BEA0718D6A38; Mon, 15 Mar 2021 12:35:40 +0000 (UTC) Received: from merkur.fritz.box (ovpn-115-128.ams2.redhat.com [10.36.115.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id B0A6E16913; Mon, 15 Mar 2021 12:35:39 +0000 (UTC) From: Kevin Wolf To: qemu-block@nongnu.org Subject: [PULL v2 00/42] Block layer patches and object-add QAPIfication Date: Mon, 15 Mar 2021 13:35:20 +0100 Message-Id: <20210315123520.118752-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kwolf@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=kwolf@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, peter.maydell@linaro.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 6157b0e19721aadb4c7fdcfe57b2924af6144b14: Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.0-pull-request' into staging (2021-03-14 17:47:49 +0000) are available in the Git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 078ee48ef7d172df1b3ad020255d1eb6beda2daf: qom: Support JSON in HMP object_add and tools --object (2021-03-15 13:04:27 +0100) ---------------------------------------------------------------- Block layer patches and object-add QAPIfication - QAPIfy object-add and --object for tools (keyval and JSON support) - Add vhost-user-blk-test - stream: Fail gracefully if permission is denied - storage-daemon: Fix crash on quit when job is still running - curl: Fix use after free - char: Deprecate backend aliases, fix QMP query-chardev-backends - Fix image creation option defaults that exist in both the format and the protocol layer (e.g. 'cluster_size' in qcow2 and rbd; the qcow2 default was incorrectly applied to the rbd layer) ---------------------------------------------------------------- Coiby Xu (1): test: new qTest case to test the vhost-user-blk-server Kevin Wolf (35): storage-daemon: Call job_cancel_sync_all() on shutdown stream: Don't crash when node permission is denied tests: Drop 'props' from object-add calls qapi/qom: Drop deprecated 'props' from object-add qapi/qom: Add ObjectOptions for iothread qapi/qom: Add ObjectOptions for authz-* qapi/qom: Add ObjectOptions for cryptodev-* qapi/qom: Add ObjectOptions for dbus-vmstate qapi/qom: Add ObjectOptions for memory-backend-* qapi/qom: Add ObjectOptions for rng-*, deprecate 'opened' qapi/qom: Add ObjectOptions for throttle-group qapi/qom: Add ObjectOptions for secret*, deprecate 'loaded' qapi/qom: Add ObjectOptions for tls-*, deprecate 'loaded' qapi/qom: Add ObjectOptions for can-* qapi/qom: Add ObjectOptions for colo-compare qapi/qom: Add ObjectOptions for filter-* qapi/qom: Add ObjectOptions for pr-manager-helper qapi/qom: Add ObjectOptions for confidential-guest-support qapi/qom: Add ObjectOptions for input-* qapi/qom: Add ObjectOptions for x-remote-object qapi/qom: QAPIfy object-add qom: Make "object" QemuOptsList optional qemu-storage-daemon: Implement --object with qmp_object_add() qom: Remove user_creatable_add_dict() qom: Factor out user_creatable_process_cmdline() qemu-io: Use user_creatable_process_cmdline() for --object qemu-nbd: Use user_creatable_process_cmdline() for --object qom: Add user_creatable_add_from_str() qemu-img: Use user_creatable_process_cmdline() for --object hmp: QAPIfy object_add qom: Add user_creatable_parse_str() char: Skip CLI aliases in query-chardev-backends char: Deprecate backend aliases 'tty' and 'parport' char: Simplify chardev_name_foreach() qom: Support JSON in HMP object_add and tools --object Max Reitz (2): curl: Store BDRVCURLState pointer in CURLSocket curl: Disconnect sockets from CURLState Stefan Hajnoczi (3): block/export: disable VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD for now tests/qtest: add multi-queue test case to vhost-user-blk-test vhost-user-blk-test: test discard/write zeroes invalid inputs Stefano Garzarella (1): block: remove format defaults from QemuOpts in bdrv_create_file() qapi/authz.json | 61 ++- qapi/block-core.json | 27 + qapi/common.json | 52 ++ qapi/crypto.json | 159 ++++++ qapi/machine.json | 22 +- qapi/net.json | 20 - qapi/qom.json | 646 +++++++++++++++++++++- qapi/ui.json | 13 +- docs/system/deprecated.rst | 31 +- docs/system/removed-features.rst | 5 + docs/tools/qemu-img.rst | 2 +- include/qom/object_interfaces.h | 85 +-- tests/qtest/libqos/vhost-user-blk.h | 48 ++ block.c | 36 +- block/curl.c | 50 +- block/export/vhost-user-blk-server.c | 3 +- block/stream.c | 15 +- chardev/char.c | 19 +- hw/block/xen-block.c | 16 +- monitor/hmp-cmds.c | 17 +- monitor/misc.c | 2 - qemu-img.c | 251 ++------- qemu-io.c | 33 +- qemu-nbd.c | 34 +- qom/object_interfaces.c | 119 ++-- qom/qom-qmp-cmds.c | 28 +- storage-daemon/qemu-storage-daemon.c | 28 +- tests/qtest/libqos/vhost-user-blk.c | 130 +++++ tests/qtest/qmp-cmd-test.c | 16 +- tests/qtest/test-netfilter.c | 54 +- tests/qtest/vhost-user-blk-test.c | 983 ++++++++++++++++++++++++++++++++++ tests/unit/test-char.c | 6 - MAINTAINERS | 2 + hmp-commands.hx | 2 +- storage-daemon/qapi/qapi-schema.json | 1 + tests/qemu-iotests/tests/qsd-jobs | 86 +++ tests/qemu-iotests/tests/qsd-jobs.out | 32 ++ tests/qtest/libqos/meson.build | 1 + tests/qtest/meson.build | 4 + 39 files changed, 2581 insertions(+), 558 deletions(-) create mode 100644 tests/qtest/libqos/vhost-user-blk.h create mode 100644 tests/qtest/libqos/vhost-user-blk.c create mode 100644 tests/qtest/vhost-user-blk-test.c create mode 100755 tests/qemu-iotests/tests/qsd-jobs create mode 100644 tests/qemu-iotests/tests/qsd-jobs.out