On Mon, 4 Sep 2017 17:43:16 +0200 David Hildenbrand <da...@redhat.com> wrote:
> Now that there is only one user of cpu_s390x_create() left, make cpu > creation looks 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 > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > hw/s390x/s390-virtio-ccw.c | 29 +++++++++++++++++++++++++++-- > target/s390x/cpu.h | 2 +- > target/s390x/helper.c | 45 ++------------------------------------------- > target/s390x/internal.h | 1 - > 4 files changed, 30 insertions(+), 47 deletions(-) LGTM