aboutsummaryrefslogtreecommitdiff
path: root/net/tap-win32.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2021-04-02 11:03:12 +0800
committerJason Wang <jasowang@redhat.com>2021-04-08 17:33:59 +0800
commitd89b4f839f0770a3adbedd5a727482f0aa2478a6 (patch)
tree1ee2f3deb8ac1394f5627585e838841429e14948 /net/tap-win32.c
parentd0d3dd401b70168a353450e031727affee828527 (diff)
Revert "net: Do not fill legacy info_str for backends"
Several issues has been reported for query-netdev info series. Consider it's late in the rc, this reverts commit f2e8319d456724c3d8514d943dc4607e2f08e88a. Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap-win32.c')
-rw-r--r--net/tap-win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c
index d7c2a8759c..959266c658 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -797,6 +797,8 @@ static int tap_win32_init(NetClientState *peer, const char *model,
stored->has_ifname = true;
stored->ifname = g_strdup(ifname);
+ s->nc.info_str = g_strdup_printf("tap: ifname=%s", ifname);
+
s->handle = handle;
qemu_add_wait_object(s->handle->tap_semaphore, tap_win32_send, s);