]> git.proxmox.com Git - mirror_qemu.git/blobdiff - net/vhost-user.c
Revert "net: Do not fill legacy info_str for backends"
[mirror_qemu.git] / net / vhost-user.c
index e443c4b2b59d477ed207ea0e91eb707b75e88179..49c9a740c29229f474814f7e7c7083932bdb0abf 100644 (file)
@@ -327,6 +327,7 @@ static int net_vhost_user_init(NetClientState *peer, const char *device,
     user = g_new0(struct VhostUserState, 1);
     for (i = 0; i < queues; i++) {
         nc = qemu_new_net_client(&net_vhost_user_info, peer, device, name);
+        nc->info_str = g_strdup_printf("vhost-user%d to %s", i, chr->label);
         nc->queue_index = i;
         if (!nc0) {
             nc0 = nc;