From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: devel@lists.libvirt.org,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Eric Blake" <eblake@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [PATCH 2/2] qapi: correctly mark 'ignore-unavailable' deprecated
Date: Thu, 12 Nov 2026 16:48:57 +0000 [thread overview]
Message-ID: <20261112164857.2083799-3-berrange@redhat.com> (raw)
In-Reply-To: <20261112164857.2083799-1-berrange@redhat.com>
Follow the proper QAPI syntax for deprecations and mention it
in the documentation.
Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
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 deprecated. Use an
empty string instead. In a future version, ``"no"`` will be treated as
a plain file name.
+``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
-------------------------------------
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'] } } }
--
2.56.1
next prev parent reply other threads:[~2026-11-12 16:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 16:48 [PATCH 0/2] qapi: fixes to trace event cleanups Daniel P. Berrangé
2026-11-12 16:48 ` [PATCH 1/2] docs: document 'unavailable' state is no longer output Daniel P. Berrangé
2026-11-13 7:31 ` Markus Armbruster
2026-11-13 7:35 ` Markus Armbruster
2026-11-12 16:48 ` Daniel P. Berrangé [this message]
2026-11-13 7:34 ` [PATCH 2/2] qapi: correctly mark 'ignore-unavailable' deprecated Markus Armbruster
2026-11-13 7:36 ` Marc-André Lureau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261112164857.2083799-3-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=devel@lists.libvirt.org \
--cc=eblake@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.