Received: from eggs.gnu.org ([2001:4830:134:3::10]:60515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXsNm-0006U0-UZ for qemu-devel@nongnu.org; Fri, 04 Sep 2015 10:54:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXsNi-0002YP-V7 for qemu-devel@nongnu.org; Fri, 04 Sep 2015 10:54:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXsNi-0002YF-QQ for qemu-devel@nongnu.org; Fri, 04 Sep 2015 10:54:22 -0400 Date: Fri, 4 Sep 2015 11:54:18 -0300 From: Eduardo Habkost Message-ID: <20150904145418.GA3574@thinpad.lan.raisama.net> References: <1440107676-17326-1-git-send-email-ehabkost@redhat.com> <1440107676-17326-8-git-send-email-ehabkost@redhat.com> <55E95BC6.4060302@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55E95BC6.4060302@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH 07/10] s390: Rename s390-ccw-virtio-2.4 class name to use MACHINE_TYPE_NAME List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger Cc: Marcel Apfelbaum , Alexander Graf , qemu-devel@nongnu.org, Cornelia Huck , Richard Henderson , Andreas =?iso-8859-1?Q?F=E4rber?= , David Gibson On Fri, Sep 04, 2015 at 10:52:22AM +0200, Christian Borntraeger wrote: > Am 20.08.2015 um 23:54 schrieb Eduardo Habkost: > > 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 > > Cc: Cornelia Huck > > Cc: Christian Borntraeger > > Cc: Richard Henderson > > Signed-off-by: Eduardo Habkost > > --- > > 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, > > }; > > > > Since yesterday you also need to adopt the 2.5 machine.... Thanks for for noting! I will rebase and resubmit. -- Eduardo