diff options
author | David Hildenbrand <david@redhat.com> | 2017-09-13 15:24:15 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-09-19 18:31:32 +0200 |
commit | 524d18d8bd463431b120eeb5f9f3d1064a1c19e4 (patch) | |
tree | e489796f78a1e73edd8b51ab9de8b3345fb3d212 /tpm.c | |
parent | 2b44178d87f380eb0ca23ea93dda2146ea2e3fd0 (diff) | |
download | qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.zip qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.tar.gz qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.tar.bz2 |
s390x: get rid of cpu_s390x_create()
Now that there is only one user of cpu_s390x_create() left, make cpu
creation look like on x86.
- Perform the model/properties split and checks in s390_init_cpus()
- Parse features only once without having to remember if already parsed
- Pass only the typename to s390x_new_cpu()
- Use the typename of an existing CPU for hotplug via cpu-add
Acked-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170913132417.24384-21-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions