From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38058 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OM37T-0006t4-Nv for qemu-devel@nongnu.org; Tue, 08 Jun 2010 14:01:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OM37R-0007HU-Et for qemu-devel@nongnu.org; Tue, 08 Jun 2010 14:01:47 -0400 Received: from mail-pw0-f45.google.com ([209.85.160.45]:60669) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM37R-0007HA-AR for qemu-devel@nongnu.org; Tue, 08 Jun 2010 14:01:45 -0400 Received: by pwj9 with SMTP id 9so426392pwj.4 for ; Tue, 08 Jun 2010 11:01:43 -0700 (PDT) Message-ID: <4C0E8582.9010903@codemonkey.ws> Date: Tue, 08 Jun 2010 13:01:38 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] configure: add an option to disable vlans References: <20100607150309.GA13369@redhat.com> <4C0E3F63.6090103@codemonkey.ws> <4C0E52ED.60305@redhat.com> <201006081537.22364.paul@codesourcery.com> In-Reply-To: <201006081537.22364.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org, Gerd Hoffmann , "Michael S. Tsirkin" On 06/08/2010 09:37 AM, Paul Brook wrote: >> I see three possible options to handle this. >> >> (1) Write a hub (or morph the current vlan code into this). Then >> you can do something like: >> >> qemu -netdev socket,id=p1 \ >> -netdev user,id=p2 \ >> -netdev dump,id=p3 \ >> -switch peer=p1,peer=p2,monitor=p3,port=p4 \ >> -device $nic,netdev=p4 >> >> (2) Implement the same as external daemon which can be combined with >> -netdev socket. >> >> (3) Just point people who need this to the various virtual switch >> projects (vde, ...) they can use and drop vlan. >> > (2) is just a special case of (3), where we decide that the existing > implementations suck and go write our own. > To the extent that (1) is valuable, I think it's the best approach. I'd vote for officially deprecating vlans for 0.13 and then seeing how much people complain. If no one complains too much, then let's not bother introducing -switch. Regards, Anthony Liguori > Paul >