diff options
author | David Hildenbrand | 2017-09-13 15:24:15 +0200 |
---|---|---|
committer | Cornelia Huck | 2017-09-19 18:31:32 +0200 |
commit | 524d18d8bd463431b120eeb5f9f3d1064a1c19e4 (patch) | |
tree | e489796f78a1e73edd8b51ab9de8b3345fb3d212 /target/s390x/internal.h | |
parent | s390x: get rid of cpu_states and use possible_cpus instead (diff) | |
download | qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.tar.gz qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.tar.xz qemu-524d18d8bd463431b120eeb5f9f3d1064a1c19e4.zip |
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 'target/s390x/internal.h')
-rw-r--r-- | target/s390x/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/s390x/internal.h b/target/s390x/internal.h index b4d3583b24..bc8f83129a 100644 --- a/target/s390x/internal.h +++ b/target/s390x/internal.h @@ -337,7 +337,6 @@ uint64_t get_psw_mask(CPUS390XState *env); void s390_cpu_recompute_watchpoints(CPUState *cs); void s390x_tod_timer(void *opaque); void s390x_cpu_timer(void *opaque); -S390CPU *cpu_s390x_create(const char *cpu_model, Error **errp); void do_restart_interrupt(CPUS390XState *env); #ifndef CONFIG_USER_ONLY LowCore *cpu_map_lowcore(CPUS390XState *env); |