summaryrefslogtreecommitdiffstats
path: root/include/qapi
diff options
context:
space:
mode:
authorJason Wang2021-04-02 05:03:20 +0200
committerJason Wang2021-04-08 11:33:59 +0200
commit603f2f7c6c8c747d0189936a74fb33e610ce7858 (patch)
treee940c7db13a812592ae647a494a1a5b205186f51 /include/qapi
parentRevert "net: Do not fill legacy info_str for backends" (diff)
downloadqemu-603f2f7c6c8c747d0189936a74fb33e610ce7858.tar.gz
qemu-603f2f7c6c8c747d0189936a74fb33e610ce7858.tar.xz
qemu-603f2f7c6c8c747d0189936a74fb33e610ce7858.zip
Revert "hmp: Use QAPI NetdevInfo in hmp_info_network"
Several issues has been reported for query-netdev info series. Consider it's late in the rc, this reverts commit a0724776c5a98a08fc946bb5a4ad16410ca64c0e. Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/qapi')
-rw-r--r--include/qapi/hmp-output-visitor.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/qapi/hmp-output-visitor.h b/include/qapi/hmp-output-visitor.h
deleted file mode 100644
index 541e4002e3..0000000000
--- a/include/qapi/hmp-output-visitor.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * HMP string output Visitor
- *
- * Copyright Yandex N.V., 2021
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#ifndef HMP_OUTPUT_VISITOR_H
-#define HMP_OUTPUT_VISITOR_H
-
-#include "qapi/visitor.h"
-
-typedef struct HMPOutputVisitor HMPOutputVisitor;
-
-/**
- * Create a HMP string output visitor for @obj
- *
- * Flattens dicts/structures, only shows arrays borders.
- *
- * Errors are not expected to happen.
- *
- * The caller is responsible for freeing the visitor with
- * visit_free().
- */
-Visitor *hmp_output_visitor_new(char **result);
-
-#endif