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>
This commit is contained in:
parent
af62e639fc
commit
c0f365186b
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user