> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Wednesday, September 24, 2014 2:54 PM > Subject: Re: [PATCH 5/7] qdev: set the object property's description to the > qdev > property's. > > 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. Best regards, -Gonglei