diff options
author | 2021-03-03 12:59:09 +0300 | |
---|---|---|
committer | 2021-03-15 16:41:22 +0800 | |
commit | a0724776c5a98a08fc946bb5a4ad16410ca64c0e (patch) | |
tree | 91c98dcf9fa6d9a2497e2133f4f6dcb73c4640c7 /plugins/api.c | |
parent | net: Move NetClientState.info_str to dynamic allocations (diff) | |
download | qemu-a0724776c5a98a08fc946bb5a4ad16410ca64c0e.tar.xz qemu-a0724776c5a98a08fc946bb5a4ad16410ca64c0e.zip |
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>
Diffstat (limited to 'plugins/api.c')
0 files changed, 0 insertions, 0 deletions