Skip to content
Snippets Groups Projects
Commit a0724776 authored by Alexey Kirillov's avatar Alexey Kirillov Committed by Jason Wang
Browse files

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: default avatarAlexey Kirillov <lekiravi@yandex-team.ru>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 59b5437e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment