S390: Enable -cpu help and QMP query-cpu-definitions
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Tue, 18 Dec 2012 07:50:59 +0000 (07:50 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 18 Jan 2013 18:07:47 +0000 (19:07 +0100)
commit904e5fd5c25537fdf910bfd5db832df5d9c23ad6
treea6bfa6efd9a2ad834241962268f32357058d96ea
parente674a49aae8b79bc4ea07f1bcd666bbf28b12a27
S390: Enable -cpu help and QMP query-cpu-definitions

This enables qemu -cpu help to return a list of supported CPU models
on s390 and also to query for cpu definitions in the monitor.
Initially only cpu model = host is returned. This needs to be reworked
into a full-fledged CPU model handling later on.
This change is needed to allow libvirt exploiters (like OpenStack)
to specify a CPU model.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
[agraf: fix s390x-linux-user, adjust header locations]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390-virtio.c
target-s390x/cpu.c
target-s390x/cpu.h