aboutsummaryrefslogtreecommitdiff
path: root/qapi/hmp-output-visitor.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-15hmp: Use QAPI NetdevInfo in hmp_info_networkAlexey Kirillov1-0/+193
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>