summaryrefslogtreecommitdiffstats
path: root/hw/ppc/pnv_core.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-10-09 21:51:07 +0200
committerDavid Gibson2017-10-17 01:34:01 +0200
commit7fd544d8a754129b1a09281535a16daffc781f92 (patch)
treec22649a3f1e8ec1ac6f94a4df82b6a15e63ca3ec /hw/ppc/pnv_core.c
parentppc: pnv: use generic cpu_model parsing (diff)
downloadqemu-7fd544d8a754129b1a09281535a16daffc781f92.tar.gz
qemu-7fd544d8a754129b1a09281535a16daffc781f92.tar.xz
qemu-7fd544d8a754129b1a09281535a16daffc781f92.zip
ppc: pnv: normalize core/chip type names
typically for cpus/core type names following convention is used new_type_prefix-superclass_typename make PNV core/chip to follow common convention. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/pnv_core.c')
-rw-r--r--hw/ppc/pnv_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_core.c b/hw/ppc/pnv_core.c
index 91f02cb324..85b39a5b5e 100644
--- a/hw/ppc/pnv_core.c
+++ b/hw/ppc/pnv_core.c
@@ -252,5 +252,5 @@ type_init(pnv_core_register_types)
char *pnv_core_typename(const char *model)
{
- return g_strdup_printf(TYPE_PNV_CORE "-%s", model);
+ return g_strdup_printf(PNV_CORE_TYPE_NAME("%s"), model);
}