]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-doc: deprecate query-cpus
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Fri, 16 Feb 2018 16:08:40 +0000 (17:08 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 26 Feb 2018 11:55:26 +0000 (12:55 +0100)
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>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1518797321-28356-5-git-send-email-mihajlov@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
qapi-schema.json
qemu-doc.texi

index e6ca63f71852c7bf0173b090f669c804fc304da1..cd98a94388a3f582234cbf855439e6ab7103c7c2 100644 (file)
 #       ]
 #    }
 #
+# 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'] }
 
index 8e3556976b5725c02616c3b792b208442ccfa91c..b3c2763624474e7f321fb6f067cde551b43ea94a 100644 (file)
@@ -2762,6 +2762,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)