summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorDavid Hildenbrand2016-09-05 10:52:44 +0200
committerCornelia Huck2016-09-06 17:06:51 +0200
commitf1a47d08effc4f2a33c667942e394c6f32a4f7d6 (patch)
tree1726627b47b291262602422fd2d6ce25aea96c9d /qapi-schema.json
parents390x/cpumodel: implement QMP interface "query-cpu-model-comparison" (diff)
downloadqemu-f1a47d08effc4f2a33c667942e394c6f32a4f7d6.tar.gz
qemu-f1a47d08effc4f2a33c667942e394c6f32a4f7d6.tar.xz
qemu-f1a47d08effc4f2a33c667942e394c6f32a4f7d6.zip
s390x/cpumodel: implement QMP interface "query-cpu-model-baseline"
Let's implement that interface by reusing our conversion code and lookup code for CPU definitions. In order to find a compatible CPU model, we first detect the maximum possible CPU generation and then try to find a maximum model, satisfying all base features (not exceeding the maximum generation). Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Message-Id: <20160905085244.99980-31-dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 955a2b9452..c4f3674d08 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3283,7 +3283,8 @@
# global properties may affect expansion of CPU models. Using
# query-cpu-model-expansion while using these is not advised.
#
-# Some architectures may not support baselining CPU models.
+# Some architectures may not support baselining CPU models. s390x supports
+# baselining CPU models.
#
# Returns: a CpuModelBaselineInfo. Returns an error if baselining CPU models is
# not supported, if a model cannot be used, if a model contains