From nobody Mon Feb 9 00:30:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632474423; cv=none; d=zohomail.com; s=zohoarc; b=Qqa9CKk4O5VwCNVkKlzACitoUbGbeaZ8hmfcdKH51X13InUtLlPad/8l3kFu+TcXI6mai3lXCDpYBsJx4JLzqlIk0cpT909tcZL7DKd12QDbjeAHzYVREaBe27W7UPlbilX9RoTLFWUO23G6Gurn2Ids3JKLceeJ7/6e8kNWJe4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632474423; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=lf+dwWntK8Cwv6LA2A15j5eQ0oA722s1ysJP3KMCRqQ=; b=hDAB9GSvQtswhiig78fPJU2UOJBzeK6v5348CQsvcPMvv7R1YUhVZj0wXsJNndRVW58i/gxmBPIF5PGrneGuMgdzjpefQOUOauLXeXmGxFVyXtTs0dimgAWkoqYckBdbxHcUPuGkjJhZtEh8U60IRhVZJtYuZEY6h+tQy94Iqk8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632474423304545.730055561153; Fri, 24 Sep 2021 02:07:03 -0700 (PDT) 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-372-9qtodOUONMu-cwFL-s-XwQ-1; Fri, 24 Sep 2021 05:07:00 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0597F1006AA2; Fri, 24 Sep 2021 09:06:56 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CFB53196FC; Fri, 24 Sep 2021 09:06:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A11CC180BAD1; Fri, 24 Sep 2021 09:06:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 18O96rOv024371 for ; Fri, 24 Sep 2021 05:06:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 616E85E253; Fri, 24 Sep 2021 09:06:53 +0000 (UTC) Received: from merkur.redhat.com (unknown [10.39.193.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 843435D9DC; Fri, 24 Sep 2021 09:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632474422; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lf+dwWntK8Cwv6LA2A15j5eQ0oA722s1ysJP3KMCRqQ=; b=idhfjxI6Pvtlgopu/dLHVw21/+L2fTSrVbQxH6hGpzcWRtfsKqZ7rTQ951pvZrG6Fwk857 Asc0nF4MKEEiWvoP2yW9VQ1LPX9/MQN7CW3+EhzX0Zf+SC6tW9vTIsQqW2ccz0K3p7kZh9 N5cKOShqp9Q02NYV6l6x/dnJv0FUsLo= X-MC-Unique: 9qtodOUONMu-cwFL-s-XwQ-1 From: Kevin Wolf To: qemu-devel@nongnu.org Subject: [PATCH 11/11] Deprecate stable non-JSON -device and -object Date: Fri, 24 Sep 2021 11:04:27 +0200 Message-Id: <20210924090427.9218-12-kwolf@redhat.com> In-Reply-To: <20210924090427.9218-1-kwolf@redhat.com> References: <20210924090427.9218-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: kwolf@redhat.com, pkrempa@redhat.com, ehabkost@redhat.com, qemu-block@nongnu.org, libvir-list@redhat.com, armbru@redhat.com, its@irrelevant.dk, pbonzini@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632474424271100001 Content-Type: text/plain; charset="utf-8" We want to switch both from QemuOpts to the keyval parser in the future, which results in some incompatibilities, mainly around list handling. Mark the non-JSON version of both as unstable syntax so that management tools switch to JSON and we can later make the change without breaking things. Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake --- docs/about/deprecated.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 3c2be84d80..42f6a478fb 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -160,6 +160,17 @@ Use ``-display sdl`` instead. =20 Use ``-display curses`` instead. =20 +Stable non-JSON ``-device`` and ``-object`` syntax (since 6.2) +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +If you rely on a stable interface for ``-device`` and ``-object`` that doe= sn't +change incompatibly between QEMU versions (e.g. because you are using the = QEMU +command line as a machine interface in scripts rather than interactively),= use +JSON syntax for these options instead. + +There is no intention to remove support for non-JSON syntax entirely, but +future versions may change the way to spell some options. + =20 Plugin argument passing through ``arg=3D`` (since 6.1) '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' --=20 2.31.1