[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/7] qdev: set the object property's description
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] [PATCH 5/7] qdev: set the object property's description to the qdev property's. |
Date: |
Wed, 24 Sep 2014 09:12:25 +0000 |
Hi,
> >
> > Il 24/09/2014 02:42, Gonglei (Arei) ha scritto:
> > > OK.
> > >
> > > This way I have to add a description string parametet to
> > > object_property_add_alias function. Will do in the next version. :)
> >
> > No, just take it from the original property. So if you alias A.X to
> > B.Y, you copy the description of B.Y.
> >
>
> But the description of B.Y wasn't set. Only qdev_alias_all_properties()
> call object_property_set_description() to set the description filed of
> ObjectProerty at present.
>
I should set description at qdev_property_add_static(), then
everything will be well. :) Thanks!
Best regards,
-Gonglei
[Qemu-devel] [PATCH 6/7] qmp: print descriptions of object properties, arei.gonglei, 2014/09/23
[Qemu-devel] [PATCH 2/7] qom: add error handler for object alias property, arei.gonglei, 2014/09/23
[Qemu-devel] [PATCH 1/7] qom: add error handler for object_property_print(), arei.gonglei, 2014/09/23
[Qemu-devel] [PATCH 3/7] qdev: add description field in PropertyInfo struct, arei.gonglei, 2014/09/23
Re: [Qemu-devel] [PATCH 0/7] add description field in ObjectProperty and PropertyInfo struct, Paolo Bonzini, 2014/09/23