From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57019 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLySI-0002jx-72 for qemu-devel@nongnu.org; Tue, 08 Jun 2010 09:03:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLyRz-0007YX-Qt for qemu-devel@nongnu.org; Tue, 08 Jun 2010 09:02:44 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:41103) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLyRz-0007YQ-LW for qemu-devel@nongnu.org; Tue, 08 Jun 2010 09:02:39 -0400 Received: by gwj17 with SMTP id 17so316514gwj.4 for ; Tue, 08 Jun 2010 06:02:39 -0700 (PDT) Message-ID: <4C0E3F63.6090103@codemonkey.ws> Date: Tue, 08 Jun 2010 08:02:27 -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> <201006071716.31103.paul@codesourcery.com> <20100607161730.GB11177@redhat.com> <201006071742.56312.paul@codesourcery.com> <4C0D23B5.3050605@codemonkey.ws> <20100607192059.GA14490@redhat.com> <4C0D5959.5010303@codemonkey.ws> <20100608110953.GA21119@redhat.com> In-Reply-To: <20100608110953.GA21119@redhat.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: "Michael S. Tsirkin" Cc: Paul Brook , qemu-devel@nongnu.org On 06/08/2010 06:09 AM, Michael S. Tsirkin wrote: > On Mon, Jun 07, 2010 at 03:40:57PM -0500, Anthony Liguori wrote: > >> On 06/07/2010 02:21 PM, Michael S. Tsirkin wrote: >> >>> So I see two ways to go forward: switch default value in my patch, >>> or disable vlans unconditionally. >>> >>> >> The problem with disabling vlans unconditionally is that you break -net >> socket and -net dump. >> > -netdev socket seems to be supported. No? > Sure, but it's of limited utility in the absence of vlans. A typical thing to do with -net socket would be to launch one instance of qemu with -net user, -net socket, and -net nic. Another qemu would be launched with -net socket and -net nic connected to the previous instance. Now you've got a working virtual network with external access. -netdev socket alone won't get you this. Regards, Anthony Liguori