summaryrefslogtreecommitdiffstats
path: root/qapi/meson.build
diff options
context:
space:
mode:
authorAlexey Kirillov2021-03-03 10:59:09 +0100
committerJason Wang2021-03-15 09:41:22 +0100
commita0724776c5a98a08fc946bb5a4ad16410ca64c0e (patch)
tree91c98dcf9fa6d9a2497e2133f4f6dcb73c4640c7 /qapi/meson.build
parentnet: Move NetClientState.info_str to dynamic allocations (diff)
downloadqemu-a0724776c5a98a08fc946bb5a4ad16410ca64c0e.tar.gz
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 'qapi/meson.build')
-rw-r--r--qapi/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/qapi/meson.build b/qapi/meson.build
index fcb15a78f1..d4424ae6e7 100644
--- a/qapi/meson.build
+++ b/qapi/meson.build
@@ -8,6 +8,7 @@ util_ss.add(files(
'qobject-output-visitor.c',
'string-input-visitor.c',
'string-output-visitor.c',
+ 'hmp-output-visitor.c',
))
if have_system or have_tools
util_ss.add(files(