The VLANClientState structure has the member info_str, a simple string that
is filled with information about NIC devices and used on monitor calls.

There is no coherent formatting of this string by all the NIC devices, 
making it difficult to parse and represent this information over QMP.

Patch 01 adds a new function qdict_to_qstring().

Patch 02 replaces the function qemu_nic_format_info_str by
qemu_nic_format_info_dict, adds a new QDict member to
VLANClientState named info_dict.

Patches 03-21 updates all devices to feed information into the new QDict.

Patch 22 converts the 'info network' monitor command to QObject, enabling QMP
support.

Regards,

Miguel



Reply via email to