[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 07/10] s390: Rename s390-ccw-virtio-2.4 class na
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH 07/10] s390: Rename s390-ccw-virtio-2.4 class name to use MACHINE_TYPE_NAME |
Date: |
Fri, 4 Sep 2015 12:06:04 -0300 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Sep 04, 2015 at 04:56:35PM +0200, Andreas Färber wrote:
> Am 04.09.2015 um 16:54 schrieb Eduardo Habkost:
> > 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 <address@hidden>
> >>> Cc: Cornelia Huck <address@hidden>
> >>> Cc: Christian Borntraeger <address@hidden>
> >>> Cc: Richard Henderson <address@hidden>
> >>> Signed-off-by: Eduardo Habkost <address@hidden>
> >>> ---
> >>> 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.
>
> If it's just a single line addition I can edit that when applying.
Thanks!
> Anything else in need of changes?
That's the only needed change, unless other machine classes were added
since I have submitted this patch. But missing a few classes won't break
bisectability, and can be fixed by a follow-up patch if necessary.
--
Eduardo