net: Monitor command set_link finds only VLAN clients, fix
authorMarkus Armbruster <armbru@redhat.com>
Thu, 11 Feb 2010 13:45:02 +0000 (14:45 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 19 Feb 2010 18:12:47 +0000 (12:12 -0600)
Clients not associated with a VLAN exist since commit d80b9fc6.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c

diff --git a/net.c b/net.c
index fb89f94..029b0d7 100644 (file)
--- a/net.c
+++ b/net.c
@@ -1243,6 +1243,7 @@ void do_set_link(Monitor *mon, const QDict *qdict)
             }
         }
     }
+    vc = qemu_find_netdev(name);
 done:
 
     if (!vc) {