qemu-e2k/target-s390x
David Hildenbrand f1a47d08ef 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>
2016-09-06 17:06:51 +02:00
..
arch_dump.c
cc_helper.c
cpu_features_def.h s390x/cpumodel: introduce CPU features 2016-09-06 17:06:49 +02:00
cpu_features.c s390x/cpumodel: introduce CPU feature group definitions 2016-09-06 17:06:49 +02:00
cpu_features.h s390x/cpumodel: introduce CPU feature group definitions 2016-09-06 17:06:49 +02:00
cpu_models.c s390x/cpumodel: implement QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
cpu_models.h s390x/kvm: implement CPU model support 2016-09-06 17:06:50 +02:00
cpu-qom.h s390x/cpumodel: register defined CPU models as subclasses 2016-09-06 17:06:49 +02:00
cpu.c s390x/cpumodel: expose features and feature groups as properties 2016-09-06 17:06:50 +02:00
cpu.h s390x/cpumodel: expose features and feature groups as properties 2016-09-06 17:06:50 +02:00
fpu_helper.c
gdbstub.c
gen-features.c s390x/kvm: let the CPU model control CMM(A) 2016-09-06 17:06:51 +02:00
helper.c s390x/cpumodel: "host" and "qemu" as CPU subclasses 2016-09-06 17:06:49 +02:00
helper.h
insn-data.def
insn-format.def
int_helper.c
interrupt.c
ioinst.c
kvm.c s390x/kvm: don't enable key wrapping if msa3 is disabled 2016-09-06 17:06:51 +02:00
machine.c s390x/cpumodel: let the CPU model handle feature checks 2016-09-06 17:06:50 +02:00
Makefile.objs s390x/cpumodel: generate CPU feature lists for CPU models 2016-09-06 17:06:49 +02:00
mem_helper.c
misc_helper.c
mmu_helper.c
trace-events
translate.c