From patchwork Thu Feb 11 13:45:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 45127 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E6430B7CF2 for ; Fri, 12 Feb 2010 00:58:37 +1100 (EST) Received: from localhost ([127.0.0.1]:45463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfZPn-0003hb-To for incoming@patchwork.ozlabs.org; Thu, 11 Feb 2010 08:49:07 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfZOp-0003hV-Ao for qemu-devel@nongnu.org; Thu, 11 Feb 2010 08:48:07 -0500 Received: from [199.232.76.173] (port=58075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfZOn-0003hN-NC for qemu-devel@nongnu.org; Thu, 11 Feb 2010 08:48:05 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfZOm-0006MR-F8 for qemu-devel@nongnu.org; Thu, 11 Feb 2010 08:48:05 -0500 Received: from oxygen.pond.sub.org ([213.239.205.148]:40509) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfZOe-0006Cu-VB for qemu-devel@nongnu.org; Thu, 11 Feb 2010 08:48:04 -0500 Received: from blackfin.pond.sub.org (pD951BCD9.dip.t-dialin.net [217.81.188.217]) by oxygen.pond.sub.org (Postfix) with ESMTPA id 2E8F82DD314 for ; Thu, 11 Feb 2010 14:45:04 +0100 (CET) Received: by blackfin.pond.sub.org (Postfix, from userid 500) id 6114233B; Thu, 11 Feb 2010 14:45:03 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Thu, 11 Feb 2010 14:45:02 +0100 Message-Id: <1265895902-15664-7-git-send-email-armbru@redhat.com> X-Mailer: git-send-email 1.6.6 In-Reply-To: <1265895902-15664-1-git-send-email-armbru@redhat.com> References: <1265895902-15664-1-git-send-email-armbru@redhat.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Mark McLoughlin Subject: [Qemu-devel] [PATCH 6/6] net: Monitor command set_link finds only VLAN clients, fix X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Clients not associated with a VLAN exist since commit d80b9fc6. Signed-off-by: Markus Armbruster --- net.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net.c b/net.c index fb89f94..029b0d7 100644 --- 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) {