From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuR1B-0005a0-AY for qemu-devel@nongnu.org; Wed, 24 Mar 2010 09:53:09 -0400 Received: from [140.186.70.92] (port=55388 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuR16-0005Zr-VA for qemu-devel@nongnu.org; Wed, 24 Mar 2010 09:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuR15-0006f2-2b for qemu-devel@nongnu.org; Wed, 24 Mar 2010 09:53:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62777) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuR14-0006eN-Rk for qemu-devel@nongnu.org; Wed, 24 Mar 2010 09:53:03 -0400 Message-ID: <4BAA1935.4060706@redhat.com> Date: Wed, 24 Mar 2010 09:52:53 -0400 From: Cole Robinson MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Supporting hypervisor specific APIs in libvirt References: <4BA7C40C.2040505@codemonkey.ws> <4BA89AD5.5080908@redhat.com> <20100323231311.GB20130@shareable.org> <4BA9C651.6020802@redhat.com> In-Reply-To: <4BA9C651.6020802@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "libvir-list@redhat.com" , qemu-devel , Juan Quintela On 03/24/2010 03:59 AM, Gerd Hoffmann wrote: > On 03/24/10 00:13, Jamie Lokier wrote: >> Gerd Hoffmann wrote: >>>> - networking: man, setting networking is a mess, libvirt just does it >>>> for you. >>> >>> +1 >>> >>> Even when not using libvirt for a reason or another I usually hook my >>> virtual machines into virbr0 (libvirt default network). >> >> I had the opposite problem. Needed to use multiple bridges and have >> some VMs behind NAT without a bridge (private IPs), and some using >> separately firewalled bridges (needed to behave like real attached >> hardware with their original MACs, but be firewalled). > > No problem in theory. libvirt should detect existing bridges and allow > you to attach virtual machines to them. So you can setup bridges and > firewalling for them using usual distro tools and use them for virtual > machines. > > In practice I've seen this not working correctly in the past, i.e. my > br0 didn't pop up in the virt-manager nic setup page. > Please file a bug: virt-manager has had bridge detection for years, so something must be going wrong. In f13 we will use netcf for this, so even bridge enumeration on remote hosts should work. Additionally I recently made a change upstream to allow users to manually enter a bridge name, since netcf isn't supported for all distros yet. - Cole