From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEnBo-0006ha-J3 for qemu-devel@nongnu.org; Mon, 02 Apr 2012 15:45:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEnBm-00079c-L2 for qemu-devel@nongnu.org; Mon, 02 Apr 2012 15:45:20 -0400 Received: from fmmailgate07.web.de ([217.72.192.248]:38229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEnBm-00079M-BP for qemu-devel@nongnu.org; Mon, 02 Apr 2012 15:45:18 -0400 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate07.web.de (Postfix) with ESMTP id 31084FF3209 for ; Mon, 2 Apr 2012 21:44:15 +0200 (CEST) Message-ID: <4F7A018D.6040107@web.de> Date: Mon, 02 Apr 2012 21:44:13 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4F79FF0E.9090701@web.de> <4F7A0105.8030707@codemonkey.ws> In-Reply-To: <4F7A0105.8030707@codemonkey.ws> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEF4CA2FCEBA2B3314D575D2B" Subject: Re: [Qemu-devel] qdev property listing broken List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Anthony Liguori , qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEF4CA2FCEBA2B3314D575D2B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-04-02 21:41, Anthony Liguori wrote: > On 04/02/2012 02:33 PM, Jan Kiszka wrote: >> Hi Anthony, >> >> I noticed that only properties with legacy names are printed via info >> qtree. >=20 > Yes. Is that not what you expect? >=20 > The qom properties and model is not stable for 1.1 so I was very carefu= l > in making sure they didn't leak into info qtree. >=20 >> After digging through the qdev and qom property maze, it turned >> out the property registration in qdev_property_add_legacy and >> qdev_property_add_static is not consistent with the access in >> qdev_print_props. >=20 > qdev_print_props will completely die for 1.2 as will almost everything > related to the human monitor in qdev-monitor.c. >=20 > I just wanted to give us a full release to make sure we were happy with= > the various interfaces. This is broken as previously listed qdev properties disappeared. >=20 >> The latter assumes all properties are strings, the >> former generate the full set of types - and add_legacy obviously an >> inconsistent one, dependent on the existence of print/parse handlers. = I >> fail to see the right direction, ie. where to fix this. Can you provid= e >> a hint? >=20 > Is there a reason you're using info qtree instead of qom-list? qom-lis= t > gives you much more info than info qtree. I'm using the monitor. Jan --------------enigEF4CA2FCEBA2B3314D575D2B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk96AY0ACgkQitSsb3rl5xQsuwCgx5wTxGoj98PW5ipKdgDHQUSA roAAoMkWN2HqWm2kkZ5ZfVn9iDQ9AJn9 =12eq -----END PGP SIGNATURE----- --------------enigEF4CA2FCEBA2B3314D575D2B--