summaryrefslogtreecommitdiffstats
path: root/net/tap-win32.c
diff options
context:
space:
mode:
authorJason Wang2021-04-02 05:03:12 +0200
committerJason Wang2021-04-08 11:33:59 +0200
commitd89b4f839f0770a3adbedd5a727482f0aa2478a6 (patch)
tree1ee2f3deb8ac1394f5627585e838841429e14948 /net/tap-win32.c
parentUpdate version for v6.0.0-rc2 release (diff)
downloadqemu-d89b4f839f0770a3adbedd5a727482f0aa2478a6.tar.gz
qemu-d89b4f839f0770a3adbedd5a727482f0aa2478a6.tar.xz
qemu-d89b4f839f0770a3adbedd5a727482f0aa2478a6.zip
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);