From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5qau-0004QS-0S for qemu-devel@nongnu.org; Wed, 04 Nov 2009 19:52:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5qap-0004Ps-IP for qemu-devel@nongnu.org; Wed, 04 Nov 2009 19:52:55 -0500 Received: from [199.232.76.173] (port=56105 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5qap-0004Pp-CF for qemu-devel@nongnu.org; Wed, 04 Nov 2009 19:52:51 -0500 Received: from mail-yw0-f176.google.com ([209.85.211.176]:59577) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5qap-00053v-0G for qemu-devel@nongnu.org; Wed, 04 Nov 2009 19:52:51 -0500 Received: by ywh6 with SMTP id 6so6825058ywh.4 for ; Wed, 04 Nov 2009 16:52:50 -0800 (PST) Message-ID: <4AF221E0.8040307@codemonkey.ws> Date: Wed, 04 Nov 2009 18:52:48 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 0/4] net-bridge: rootless bridge support for qemu References: <1257294485-27015-1-git-send-email-aliguori@us.ibm.com> <1257374442.4417.3.camel@x200> In-Reply-To: <1257374442.4417.3.camel@x200> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kirkland@canonical.com Cc: Mark McLoughlin , Anthony Liguori , Arnd Bergmann , Michael Tsirkin , Juan Quintela , qemu-devel@nongnu.org Dustin Kirkland wrote: >> We address this problem by introducing a new network backend: -net bridge. This >> backend is less flexible than -net tap because it relies on a helper with >> elevated privileges to do the heavy lifting of allocating and attaching a tap >> device to a bridge. We use a special purpose helper because we don't want >> to elevate the privileges of more generic tools like brctl. >> >> From a user perspective, to use bridged networking with a guest, you simply use: >> >> qemu -hda linux.img -net bridge -net nic >> > > I know that this patch is less than a day old and untested, but would it > be reasonable to make this the "default" network configuration at some > point in the future? This certainly seems to be what I want 99% of the > time when I launch qemu or kvm by hand from the command line. > I'd rather make the "default" network configurable via a global configuration file. That way, if a distribution knew that it had a bridge setup for its users, it could make -net bridge the default. Regards, Anthony Liguori