From nobody Sun Nov 15 00:25:54 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) client-ip=38.145.34.151; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1794502274; cv=none; d=zohomail.com; s=zohoarc; b=EFSTjw9VFU313gGEwm6XgZwi5j5eJhEjoIniwNH5NmKwPpu/2sjtHwHQ8jVLqX/SShX3WkICvJQZnjwD2rbQeESU6fPlTW7MztRTmmcuZ3uBovzZ3Exwn5UDPoQ1SIk4I/1fVwnGvhiV9+I4AmW6CcgcwGoP2gQqdht9jAghQMw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794502274; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id; bh=DObUk4bScnOOd9tbqcvJqcYRr7TF7OAC1Fy8m5x0XpI=; b=JXcITzEzL49BiEVmVH3YRKkY+T2593l24n5Irh07ZzSDwx4iZ3VH8e094eil5VMGKwPSNka4Od3NUVXct/M0C5Lm+L2eo94ozWPPgUOjHsW13ZzvGwED1khYy6/SJO7XfYgJWa+6wcfioQU3KRAufoxvUhMVZp88Eg23+SusDEY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [38.145.34.151]) by mx.zohomail.com with SMTPS id 1794502274277116.5886054529384; Thu, 12 Nov 2026 08:51:14 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id A9C7441AE4; Thu, 12 Nov 2026 11:51:12 -0500 (EST) Received: from [172.19.199.22] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 5F43441C05; Thu, 12 Nov 2026 11:49:23 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id D169B3F303; Thu, 12 Nov 2026 11:49:11 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 3E0F53F2F3 for ; Thu, 12 Nov 2026 11:49:11 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-492-9lGY3qe5PjiAnGyWqo8nhQ-1; Thu, 12 Nov 2026 11:49:06 -0500 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 14B89195605F; Thu, 12 Nov 2026 16:49:04 +0000 (UTC) Received: from berrange.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A78FB421; Thu, 12 Nov 2026 16:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_PASS autolearn=no autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1794502150; 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=DObUk4bScnOOd9tbqcvJqcYRr7TF7OAC1Fy8m5x0XpI=; b=SPl3RDP17q7Nt4xWUIQOIzwTB494YqgGiI1WwDgOMSZOnWSo+JP0UgEviLWeOTD33i8lPV vX6MHRZi8f+kBEoCwpvq6l0p4pVtGxRpleeIswbgx7xXUS0Wg1wGJerOWUwTlUgs84qR2n OkeTtsMDVZ7pox8bSD0+S6YyHBJQtlU= X-MC-Unique: 9lGY3qe5PjiAnGyWqo8nhQ-1 X-Mimecast-MFC-AGG-ID: 9lGY3qe5PjiAnGyWqo8nhQ_1794502144 To: qemu-devel@nongnu.org Subject: [PATCH 1/2] docs: document 'unavailable' state is no longer output Date: Thu, 12 Nov 2026 16:48:56 +0000 Message-ID: <20261112164857.2083799-2-berrange@redhat.com> In-Reply-To: <20261112164857.2083799-1-berrange@redhat.com> References: <20261112164857.2083799-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 X-Mimecast-MFC-PROC-ID: 9xjcSuBpSQ57mk61lewJFXg45Ku3wOCLhxxLit0cZaM_1794502144 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: BZKDZSK4UKGESFNRT5H4D3DSIUEYWHLS X-Message-ID-Hash: BZKDZSK4UKGESFNRT5H4D3DSIUEYWHLS X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@lists.libvirt.org, Pierrick Bouvier , Eric Blake , Markus Armbruster , Stefan Hajnoczi , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9_via_Devel?= Reply-To: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1794502277748158501 The concept of unavailable trace events no longer exists so this enum entry was obsolete. Reported-by: Marc-Andr=C3=A9 Lureau Reported-by: Markus Armbruster Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Markus Armbruster --- docs/about/removed-features.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.= rst index 225841bd9bb..3a05891db2b 100644 --- a/docs/about/removed-features.rst +++ b/docs/about/removed-features.rst @@ -802,6 +802,14 @@ The ability to instrument QEMU helper functions with v= CPU-aware trace points was removed in 7.0. =20 =20 +``unavailable`` state no longer reported for trace events (removed in 11.2) +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +Trace events are now unconditionally built-in to all QEMU builds, +so the concept of an 'unavailable' trace event no longer exists. +The ``TraceEventState`` value ``unavailable`` can thus never +be reported and has been removed from the schema. + Human Monitor Protocol (HMP) commands ------------------------------------- =20 --=20 2.56.1 From nobody Sun Nov 15 00:25:54 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) client-ip=38.145.34.151; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1794502332; cv=none; d=zohomail.com; s=zohoarc; b=ZxjO8hgE5VwpQNmcZS+6hfF0olheoaTPOgOOuCRLR8Tp3Jp2ZrbSGiosW4sTC1Ex9fEqLSK0AfnxpCPCGCyVWlHksoemVOdoHrv7aEUPsO94BrogSisSkm9oFjeyItlmmCVn1cA+MqxNGFARjVhia1NoIuioxOh+NvUS138xgi4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794502332; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id; bh=/qJHH2x1pQ+RxwoURxRdlSdV6WKbs/a4dytfUZ8d+mQ=; b=LEQp6xlw4lZtbbmq+jOTJPKs/MTKMu1vVztz+T667Dm1mCdqXQ45JLFN4GaQJIO+MOkEnA4bG7MJB25kUw6sB9rdBMkHLWHgIQNSiEQ04uuKCPoMQ3VFqzp6RkgRN7QYS78y2JDvytxo+9WATDSAdVRD/NHIsn8WBOyAKJZUpBU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [38.145.34.151]) by mx.zohomail.com with SMTPS id 1794502332605939.9772464117609; Thu, 12 Nov 2026 08:52:12 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 339693F303; Thu, 12 Nov 2026 11:52:11 -0500 (EST) Received: from [172.19.199.22] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 71F7541CC2; Thu, 12 Nov 2026 11:49:38 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id B0CF241B65; Thu, 12 Nov 2026 11:49:28 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id E119741B6D for ; Thu, 12 Nov 2026 11:49:14 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-14-FiUifY4dNgmIuLSHqgc7Aw-1; Thu, 12 Nov 2026 11:49:07 -0500 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A1E6919560AD; Thu, 12 Nov 2026 16:49:06 +0000 (UTC) Received: from berrange.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 664C4410; Thu, 12 Nov 2026 16:49:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_PASS autolearn=no autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1794502154; 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=/qJHH2x1pQ+RxwoURxRdlSdV6WKbs/a4dytfUZ8d+mQ=; b=BCVBxsBT6kHlxK+eZKbpPsdkcmQ+ASoOocSKLNaocJdmmqSdPgsHdWT8MWMn24wcbVQ+Y1 SLPTDBlqtds224sHl/oJPDFAPivP20ZFBn4U42FJxRMm8UNr84l+/QyZ0WeVxsdMHi8LqR 4bLGE18rbp7OKPDxWXtyLzTNp7AL/7k= X-MC-Rep: binary re single X-MC-Unique: FiUifY4dNgmIuLSHqgc7Aw-1 X-Mimecast-MFC-AGG-ID: FiUifY4dNgmIuLSHqgc7Aw_1794502146 To: qemu-devel@nongnu.org Subject: [PATCH 2/2] qapi: correctly mark 'ignore-unavailable' deprecated Date: Thu, 12 Nov 2026 16:48:57 +0000 Message-ID: <20261112164857.2083799-3-berrange@redhat.com> In-Reply-To: <20261112164857.2083799-1-berrange@redhat.com> References: <20261112164857.2083799-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 X-Mimecast-MFC-PROC-ID: P74h76rgW6TuXyATrDPtD9Gkhklb75oSq0LUf-lbqcA_1794502146 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: R7D6QI6GQM755F2Y4PAJ23RFXD7CWESY X-Message-ID-Hash: R7D6QI6GQM755F2Y4PAJ23RFXD7CWESY X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@lists.libvirt.org, Pierrick Bouvier , Eric Blake , Markus Armbruster , Stefan Hajnoczi , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9_via_Devel?= Reply-To: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1794502334865158500 Follow the proper QAPI syntax for deprecations and mention it in the documentation. Reported-by: Marc-Andr=C3=A9 Lureau Reported-by: Markus Armbruster Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Markus Armbruster --- docs/about/deprecated.rst | 8 ++++++++ qapi/trace.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 0891bbc44de..a39feb23f5b 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -182,6 +182,14 @@ execution. This special treatment of ``"no"`` is depr= ecated. Use an empty string instead. In a future version, ``"no"`` will be treated as a plain file name. =20 +``ignore-unavailable`` in ``trace-event-set-state`` (since 11.2) +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +Trace events are now unconditionally built-in to all QEMU builds, +so the concept of an 'unavailable' trace event no longer exists. +The ``ignore-unavailable`` parameter in ``trace-event-set-state`` +thus has no effect and should no longer be used. + Human Machine Protocol (HMP) commands ------------------------------------- =20 diff --git a/qapi/trace.json b/qapi/trace.json index 8533e378977..5792a436115 100644 --- a/qapi/trace.json +++ b/qapi/trace.json @@ -67,10 +67,14 @@ # @enable: Whether to enable tracing. # # @ignore-unavailable: Do not match unavailable events with @name. -# Deprecated: since 11.2 # # Since: 2.2 # +# Features: +# +# @deprecated: @ignore-unavailable no longer has any effect +# (since 11.2) +# # .. qmp-example:: # # -> { "execute": "trace-event-set-state", @@ -78,4 +82,6 @@ # <- { "return": {} } ## { 'command': 'trace-event-set-state', - 'data': {'name': 'str', 'enable': 'bool', '*ignore-unavailable': 'bool' = } } + 'data': {'name': 'str', 'enable': 'bool', + '*ignore-unavailable': { 'type': 'bool', + 'features': ['deprecated'] } } } --=20 2.56.1