qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qdev property listing broken
@ 2012-04-02 19:33 Jan Kiszka
  2012-04-02 19:40 ` Paolo Bonzini
  2012-04-02 19:41 ` Anthony Liguori
  0 siblings, 2 replies; 14+ messages in thread
From: Jan Kiszka @ 2012-04-02 19:33 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

Hi Anthony,

I noticed that only properties with legacy names are printed via info
qtree. 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. 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 provide
a hint?

Jan

PS: It's really no fun to understand and debug this code anymore.
Hopefully, the removal of the qdev layer can improve this again.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-04-03  7:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 19:33 [Qemu-devel] qdev property listing broken Jan Kiszka
2012-04-02 19:40 ` Paolo Bonzini
2012-04-02 19:43   ` Anthony Liguori
2012-04-02 20:07   ` Peter Maydell
2012-04-02 22:03     ` Paolo Bonzini
2012-04-02 22:27       ` Peter Maydell
2012-04-03  7:12         ` Paolo Bonzini
2012-04-02 23:38   ` Jan Kiszka
2012-04-02 19:41 ` Anthony Liguori
2012-04-02 19:44   ` Jan Kiszka
2012-04-02 19:48     ` Anthony Liguori
2012-04-02 19:50       ` Jan Kiszka
2012-04-02 20:07   ` Jan Kiszka
2012-04-02 20:10     ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).