Received: from eggs.gnu.org ([2001:4830:134:3::10]:44408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjmRx-0006Tv-Nw for qemu-devel@nongnu.org; Fri, 22 Nov 2013 03:50:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjmRs-0004E2-VJ for qemu-devel@nongnu.org; Fri, 22 Nov 2013 03:50:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjmRs-0004Du-MY for qemu-devel@nongnu.org; Fri, 22 Nov 2013 03:50:48 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAM8olU7032237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Nov 2013 03:50:47 -0500 Date: Fri, 22 Nov 2013 09:50:45 +0100 From: Stefan Hajnoczi Message-ID: <20131122085045.GA18096@stefanha-thinkpad.redhat.com> References: <1383876789-15496-1-git-send-email-vyasevic@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1383876789-15496-1-git-send-email-vyasevic@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qdev-properties-system.c: Allow vlan or netdev for -device, not both List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vlad Yasevich Cc: jasowang@redhat.com, qemu-devel@nongnu.org On Thu, Nov 07, 2013 at 09:13:09PM -0500, Vlad Yasevich wrote: > It is currently possible to specify things like: > -device e1000,netdev=foo,vlan=1 > With this usage, whichever argument was specified last (vlan or netdev) > overwrites what was previousely set and results in a non-working > configuration. Even worse, when used with multiqueue devices, > it causes a segmentation fault on exit in qemu_free_net_client. > > That patch treates the above command line options as invalid and > generates an error at start-up. > > Signed-off-by: Vlad Yasevich > --- > hw/core/qdev-properties-system.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan