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=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 00F4FC3F2D1 for ; Tue, 3 Mar 2020 16:39:18 +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 BFAF1215A4 for ; Tue, 3 Mar 2020 16:39:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cS0XFo8N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFAF1215A4 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]:49990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9AZg-0002Ym-Tf for qemu-devel@archiver.kernel.org; Tue, 03 Mar 2020 11:39:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56830) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9AVq-0004I5-N2 for qemu-devel@nongnu.org; Tue, 03 Mar 2020 11:35:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9AVp-000307-Hi for qemu-devel@nongnu.org; Tue, 03 Mar 2020 11:35:18 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:59592 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9AVp-0002zr-Dw for qemu-devel@nongnu.org; Tue, 03 Mar 2020 11:35:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583253317; 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: in-reply-to:in-reply-to:references:references; bh=iQ4eJHnp2DxKvrJF29stLYX3uThsxgfJxa46sj2Ia6g=; b=cS0XFo8NzybNfiyjXtKS4t1i0VWMUXFEW1Dg2+qXZ8cZxaT8cZiTkG51S2THOZUAD89l8k 9bppZJAzgv7c+Epg5ciTePcEG5HpJwPV/uWJOBzuitlSj0p48D9R0HpKQfKhIkIMW0337b MdBQlHLj/LEp4CUELODDG1hBJPSoo60= 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-147-SQ-tv8YPNzSA75yZOjvYsw-1; Tue, 03 Mar 2020 11:35:11 -0500 X-MC-Unique: SQ-tv8YPNzSA75yZOjvYsw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5B662800D5F; Tue, 3 Mar 2020 16:35:10 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-129.ams2.redhat.com [10.36.116.129]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3C3B710013A1; Tue, 3 Mar 2020 16:35:07 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id B293C11385ED; Tue, 3 Mar 2020 17:35:05 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Subject: [PATCH v2 01/30] qemu-doc: Belatedly document QMP command arg & result deprecation Date: Tue, 3 Mar 2020 17:34:36 +0100 Message-Id: <20200303163505.32041-2-armbru@redhat.com> In-Reply-To: <20200303163505.32041-1-armbru@redhat.com> References: <20200303163505.32041-1-armbru@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 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: libvir-list@redhat.com, berrange@redhat.com, mdroth@linux.vnet.ibm.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" A number of deprecated QMP arguments and results were missed in commit eb22aeca65 "docs: document deprecation policy & deprecated features in appendix" (v2.10.0): * Commit b33945cfff "block: Accept device model name for blockdev-open/close-tray" (v2.8.0) deprecated blockdev-open-tray, blockdev-close-tray argument @device. * Commit fbe2d8163e "block: Accept device model name for eject" (v2.8.0) deprecated eject argument @device. * Commit 70e2cb3bd7 "block: Accept device model name for blockdev-change-medium" (v2.8.0) deprecated blockdev-change-medium argument @device. * Commit 7a9877a026 "block: Accept device model name for block_set_io_throttle" (v2.8.0) deprecated block_set_io_throttle argument @device. * Commit c01c214b69 "block: remove all encryption handling APIs" (v2.10.0) deprecated query-named-block-nodes result @encryption_key_missing and query-block result @inserted member @encryption_key_missing. * Commit c42e8742f5 "block: Use JSON null instead of "" to disable backing file" (v2.10.0) deprecated blockdev-add empty string argument @backing. Since then, we missed a few more: * Commit 3c605f4074 "commit: Add top-node/base-node options" (v3.1.0) deprecated block-commit arguments @base and @top. * Commit 4db6ceb0b5 "block/dirty-bitmap: add recording and busy properties" (v4.0.0) deprecated query-named-block-nodes result @dirty-bitmaps member @status, not just query-block. Make up for all that. Signed-off-by: Markus Armbruster --- qemu-deprecated.texi | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index 66eca3a1de..b9ef56fd97 100644 --- a/qemu-deprecated.texi +++ b/qemu-deprecated.texi @@ -150,19 +150,51 @@ Use @option{-display sdl,show-cursor=3Don} or =20 Use ``blockdev-change-medium'' or ``change-vnc-password'' instead. =20 +@subsection blockdev-open-tray, blockdev-close-tray argument device (since= 2.8.0) + +Use argument ``id'' instead. + +@subsection eject argument device (since 2.8.0) + +Use argument ``id'' instead. + +@subsection blockdev-change-medium argument device (since 2.8.0) + +Use argument ``id'' instead. + +@subsection block_set_io_throttle argument device (since 2.8.0) + +Use argument ``id'' instead. + @subsection migrate_set_downtime and migrate_set_speed (since 2.8.0) =20 Use ``migrate-set-parameters'' instead. =20 +@subsection query-named-block-nodes result encryption_key_missing (since 2= .10.0) + +Always false. + +@subsection query-block result inserted.encryption_key_missing (since 2.10= .0) + +Always false. + +@subsection blockdev-add empty string argument backing (since 2.10.0) + +Use argument ``null'' instead. + @subsection migrate-set-cache-size and query-migrate-cache-size (since 2.1= 1.0) =20 Use ``migrate-set-parameters'' and ``query-migrate-parameters'' instead. =20 -@subsection query-block result field dirty-bitmaps[i].status (since 4.0) +@subsection block-commit arguments base and top (since 3.1.0) + +Use arguments ``base-node'' and ``top-node'' instead. + +@subsection query-named-block-nodes and query-block result dirty-bitmaps[i= ].status (since 4.0) =20 The ``status'' field of the ``BlockDirtyInfo'' structure, returned by -the query-block command is deprecated. Two new boolean fields, -``recording'' and ``busy'' effectively replace it. +these commands is deprecated. Two new boolean fields, ``recording'' and +``busy'' effectively replace it. =20 @subsection query-block result field dirty-bitmaps (Since 4.2) =20 --=20 2.21.1