ppc: spapr: register 'host' core type along with the rest of core types
commit5bbb2641861934e1ba52151cb9eb4cfac581346c
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:02 +0000 (9 21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:00 +0000 (17 10:34 +1100)
tree8fb61d9b8f6277328f4f037d90151f99bc9fee42
parentb51d3c8818e2fd0a4a36a43d7f8756274cbc5ac9
ppc: spapr: register 'host' core type along with the rest of core types

consolidate 'host' core type registration by moving it from
KVM specific code into spapr_cpu_core.c, similar like it's
done in x86 target.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_cpu_core.c
include/hw/ppc/spapr_cpu_core.h
target/ppc/kvm.c