From: David Edmondson Subject: Re: Re: [Xen-changelog] [xen-3.1-testing] xend: fix server/netif.py so that it respects type=None. Date: Fri, 5 Oct 2007 14:41:19 +0100 Message-ID: <20071005134119.GB1326@enoexec.uk.sun.com> References: <200710041540.l94FeHjC015059@xenbits.xensource.com> <20071005002124.GM3751@totally.trollied.org.uk> <20071005003839.GA15791@redhat.com> <20071005012233.GA23979@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20071005012233.GA23979@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, John Levon List-Id: xen-devel@lists.xenproject.org On Fri, Oct 05, 2007 at 02:22:33AM +0100, Daniel P. Berrange wrote: > So the one place where Solaris could in theory find trouble is if > the kernel modules for back/front actually look at the 'type' field > in xenstore. In the Linux impl, neither the back/front drivers ever > look at the 'type' field - it is only ever interpreted by XenD. We do look at the 'type' field, to determine how to connect up the backend to a physical device. "type=ioemu" and "type=netfront" both behave similarly to the Linux code ("netfront" creates a pseudo-ethernet device that could be used by IP or a bridge, "ioemu" prompts qemu-dm to do the right thing (which is different on Solaris, but anyway)). "type=SUNW_mac", the default on Solaris (well, previously the default), results in different approach where we expect to open a physical or pseudo-physical device directly and relay packets. Typically it's a pseudo-physical device created by the hotplug scripts using Crossbow[1] VNICs. I'll look at the changes more closely and figure out what to do. [1] http://opensolaris.org/os/project/crossbow/