hmp: Use QAPI NetdevInfo in hmp_info_network
Replace usage of legacy field info_str of NetClientState for backend network devices with QAPI NetdevInfo stored_config that already used in QMP query-netdev. This change increases the detail of the "info network" output and takes a more general approach to composing the output. NIC and hubports still use legacy info_str field. Signed-off-by:Alexey Kirillov <lekiravi@yandex-team.ru> Signed-off-by:
Jason Wang <jasowang@redhat.com>
Loading
Please register or sign in to comment