]> git.proxmox.com Git - mirror_qemu.git/commit
ppc: make cpu alias point only to real cpu models
authorIgor Mammedov <imammedo@redhat.com>
Wed, 30 Aug 2017 13:24:31 +0000 (15:24 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 7 Sep 2017 23:30:55 +0000 (09:30 +1000)
commit6ea707e9d1fb1a5680c091895fc042aac9a4bd74
tree167dc06340b1370a1916776d330940a2b7561887
parentc5354f54aa60d98c54ea5170a2064a1023e69967
ppc: make cpu alias point only to real cpu models

alias pointing to another alias forces lookup code to
do recurrsive translation till real cpu model is reached.

Drop this nonsence and make each alias point to cpu model
that has corresponding CPU type. It will allow to drop
recurrsion in cpu model translation code and actually
make ppc_cpu_aliases[] content use PowerPCCPUAlias
fields properly
(i.e. alias goes into .alias and model goes into .model)

While at it add TODO defines around aliases that point to
cpu models excluded by the same TODO defines.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu-models.c
target/ppc/cpu-models.h