δΊ 2013/12/11 2:15, Paolo Bonzini ει:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il 10/12/2013 19:00, Eric Blake ha scritto:
+ 'data': {'qom-type': 'str', 'id': 'str', '*props': 'dict'},
+ 'gen': 'no' }
This feels VERY open-coded. No where else in qapi-schema do we
have 'dict' as a type
Yes, in fact the "data" field is entirely skipped by the code
generator (that's 'gen':'no').
Could we use hmp_object_add()->qmp_object_add()->object_add() code path,
instead of hmp_object_add()->object_add(),qmp_object_add()->object_add()?
Would skipping by generator brings some difficult to it?