summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost2015-08-20 23:54:34 +0200
committerAndreas Färber2015-09-19 16:39:13 +0200
commitc0f365186b30f97ef221489834e7ae146fc22db8 (patch)
tree7bdf6c6c62a7a6556eedeb923bb0635460841d64
parents390: Rename s390-ccw-virtio-2.4 class name to use MACHINE_TYPE_NAME (diff)
downloadqemu-c0f365186b30f97ef221489834e7ae146fc22db8.tar.gz
qemu-c0f365186b30f97ef221489834e7ae146fc22db8.tar.xz
qemu-c0f365186b30f97ef221489834e7ae146fc22db8.zip
mac99: Use MACHINE_TYPE_NAME to encode class name
It will result in exactly the same class name, but it will make the code consistent with the other classes. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--hw/ppc/mac_newworld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
index 3c82be2e18..31c40c9ff0 100644
--- a/hw/ppc/mac_newworld.c
+++ b/hw/ppc/mac_newworld.c
@@ -517,7 +517,7 @@ static void core99_machine_class_init(ObjectClass *oc, void *data)
}
static const TypeInfo core99_machine_info = {
- .name = "mac99-machine",
+ .name = MACHINE_TYPE_NAME("mac99"),
.parent = TYPE_MACHINE,
.class_init = core99_machine_class_init,
};