]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/machine.c
machine: Ensure all TYPE_MACHINE subclasses have the right suffix
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 20 Aug 2015 21:54:35 +0000 (14:54 -0700)
committerAndreas Färber <afaerber@suse.de>
Sat, 19 Sep 2015 14:39:19 +0000 (16:39 +0200)
commitdcb3d601115eed77aef543fe3a920adc17544e06
tree75689324209c954b0a2cef64d477380bc741f529
parentc0f365186b30f97ef221489834e7ae146fc22db8
machine: Ensure all TYPE_MACHINE subclasses have the right suffix

Now that all non-abstract TYPE_MACHINE subclasses have the -machine
suffix, add an assert to ensure this will be always true.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/machine.c