diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2016-09-05 10:52:42 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-09-06 17:06:51 +0200 |
commit | 137974cea30120a80fc8e41c7a64afb0d4d6c2f6 (patch) | |
tree | e22dcec3f852b1d5126fdcb2d1bf9cfd321cca1a /qapi-schema.json | |
parent | b18b6043341dfad46cbda7804424a1604cea065b (diff) | |
download | qemu-137974cea30120a80fc8e41c7a64afb0d4d6c2f6.zip qemu-137974cea30120a80fc8e41c7a64afb0d4d6c2f6.tar.gz qemu-137974cea30120a80fc8e41c7a64afb0d4d6c2f6.tar.bz2 |
s390x/cpumodel: implement QMP interface "query-cpu-model-expansion"
In order to expand CPU models, we create temporary cpus that handle the
feature/group parsing. Only CPU feature properties are expanded.
When converting the data structure back, we always fall back to the
static base CPU model, which is by definition migration-safe.
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Message-Id: <20160905085244.99980-29-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.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 44cc71e..b06135c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3143,7 +3143,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 all expansion types. +# Some architectures may not support all expansion types. s390x supports +# "full" and "static". # # Returns: a CpuModelExpansionInfo. Returns an error if expanding CPU models is # not supported, if the model cannot be expanded, if the model contains |