diff options
| author | David Hildenbrand | 2016-09-05 10:52:43 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2016-09-06 17:06:51 +0200 |
| commit | 4e82ef05029f27a39c6259bd967e4f46988d176c (patch) | |
| tree | ff218f956d31122fe190277ce55ae2ef7c2d6988 /scripts/switch-timer-api | |
| parent | s390x/cpumodel: implement QMP interface "query-cpu-model-expansion" (diff) | |
| download | qemu-4e82ef05029f27a39c6259bd967e4f46988d176c.tar.gz qemu-4e82ef05029f27a39c6259bd967e4f46988d176c.tar.xz qemu-4e82ef05029f27a39c6259bd967e4f46988d176c.zip | |
s390x/cpumodel: implement QMP interface "query-cpu-model-comparison"
Let's implement that interface by reusing our convertion code implemented
for expansion.
We use CPU generations and CPU features to calculate the result. This
means, that a zEC12 cannot simply be converted into a z13 by stripping
of features. This is required, as other magic values (e.g. maximum
address sizes) belong to a CPU generation and cannot simply be
emulated by an older generation.
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Message-Id: <20160905085244.99980-30-dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
