On 07/27/2012 07:37 AM, Anthony Liguori wrote:
This command attempts to map to the behavior of -cpu ?.
Unfortunately, the
output of this command differs wildly across targets.
To accomodate this, we use a weak symbol to implement a default version of the
s/accomodate/accommodate/
command that fails with a QERR_NOT_SUPPORTED error code. Targets can
then
override and implement this command if it makes sense for them.
Signed-off-by: Anthony Liguori <aliguori(a)us.ibm.com>
+##
+# @CpuDefInfo:
+#
+# Virtual CPU definition.
+#
+# @name: the name of the CPU definition
+#
+# Since: 1.2.0
We are inconsistent in this file whether to use '1.2.0' or just '1.2';
probably worth a followup patch to clean whichever version is deemed
inappropriate.
+##
+{ 'type': 'CpuDefInfo',
+ 'data': { 'name': 'str' } }
+
+##
+# @query-cpudefs:
I though QMP favored English words, as in 'query-cpu-definitions'
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org