On Thu, Aug 20, 2015 at 02:54:33PM -0700, Eduardo Habkost wrote: > Machine class names should use the "-machine" suffix to allow > class-name-based machine class lookup to work. Rename the > s390-ccw-virtio-2.4 machine class using the MACHINE_TYPE_NAME macro. > > Cc: Alexander Graf <ag...@suse.de> > Cc: Cornelia Huck <cornelia.h...@de.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Richard Henderson <r...@twiddle.net> > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au> > --- > hw/s390x/s390-virtio-ccw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c > index 4c51d1a..66e1478 100644 > --- a/hw/s390x/s390-virtio-ccw.c > +++ b/hw/s390x/s390-virtio-ccw.c > @@ -293,7 +293,7 @@ static void ccw_machine_2_4_class_init(ObjectClass *oc, > void *data) > } > > static const TypeInfo ccw_machine_2_4_info = { > - .name = TYPE_S390_CCW_MACHINE "2.4", > + .name = MACHINE_TYPE_NAME("s390-ccw-virtio-2.4"), > .parent = TYPE_S390_CCW_MACHINE, > .class_init = ccw_machine_2_4_class_init, > }; -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
pgpmF7JE0A5dw.pgp
Description: PGP signature