Avi Kivity wrote: > On 05/17/2010 11:55 AM, Jan Kiszka wrote: >>> The names of fields are also type information. >>> >> Not in the case of device_show. The clients have no idea of the vmstate >> structures before they were transfered. Granted, that will likely remain >> a special case in the QMP command set. >> > > For that use case, I agree. Maybe we should send both the parsed and > unparsed information.
Now I can't parse what you mean. > > But if the client isn't going to interpret the object and only display > it, then there is no need for __class__? For that uncommon case, yes. But the common one is to perform a bit more than raw JSON dictionary printing. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux