qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: agraf@suse.de, ehabkost@redhat.com, armbru@redhat.com,
	cohuck@redhat.com, david@redhat.com, dgilbert@redhat.com,
	borntraeger@de.ibm.com, qemu-s390x@nongnu.org,
	pbonzini@redhat.com, rth@twiddle.net, eblake@redhat.com
Subject: [Qemu-devel] [PATCHv4 4/4] qemu-doc: deprecate query-cpus
Date: Fri, 16 Feb 2018 13:04:51 +0100	[thread overview]
Message-ID: <1518782691-1232-5-git-send-email-mihajlov@linux.vnet.ibm.com> (raw)
In-Reply-To: <1518782691-1232-1-git-send-email-mihajlov@linux.vnet.ibm.com>

Start the deprecation period for QAPI query-cpus (replaced by
query-cpus-fast) beginning with 2.12.0.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
---
 qapi-schema.json | 4 ++++
 qemu-doc.texi    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/qapi-schema.json b/qapi-schema.json
index e6ca63f..cd98a94 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -587,6 +587,10 @@
 #       ]
 #    }
 #
+# Notes: This interface is deprecated (since 2.12.0), and it is strongly
+#        recommended that you avoid using it. Use @query-cpus-fast to
+#        obtain information about virtual CPUs.
+#
 ##
 { 'command': 'query-cpus', 'returns': ['CpuInfo'] }
 
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 137f581..221f565 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -2764,6 +2764,10 @@ by the ``convert -l snapshot_param'' argument instead.
 "autoload" parameter is now ignored. All bitmaps are automatically loaded
 from qcow2 images.
 
+@subsection query-cpus (since 2.12.0)
+
+The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command.
+
 @section System emulator human monitor commands
 
 @subsection host_net_add (since 2.10.0)
-- 
1.9.1

  parent reply	other threads:[~2018-02-16 12:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 12:04 [Qemu-devel] [PATCHv4 0/4] add query-cpu-fast and related s390 changes Viktor Mihajlovski
2018-02-16 12:04 ` [Qemu-devel] [PATCHv4 1/4] qmp: expose s390-specific CPU info Viktor Mihajlovski
2018-02-16 13:55   ` Eric Blake
2018-02-16 12:04 ` [Qemu-devel] [PATCHv4 2/4] qmp: add query-cpus-fast Viktor Mihajlovski
2018-02-16 14:03   ` Eric Blake
2018-02-16 14:49     ` Viktor Mihajlovski
2018-02-16 15:07       ` Eric Blake
2018-02-16 15:38         ` Dr. David Alan Gilbert
2018-02-16 12:04 ` [Qemu-devel] [PATCHv4 3/4] qmp: add architecture specific cpu data for query-cpus-fast Viktor Mihajlovski
2018-02-16 14:05   ` Eric Blake
2018-02-16 12:04 ` Viktor Mihajlovski [this message]
2018-02-16 14:05   ` [Qemu-devel] [PATCHv4 4/4] qemu-doc: deprecate query-cpus Eric Blake

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=1518782691-1232-5-git-send-email-mihajlov@linux.vnet.ibm.com \
    --to=mihajlov@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=armbru@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=rth@twiddle.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).