From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" 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 16:29:06 +0100 Message-ID: <20071005152906.GA8249@redhat.com> References: <20071005134119.GB1326@enoexec.uk.sun.com> <20071005143301.GC1326@enoexec.uk.sun.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20071005143301.GC1326@enoexec.uk.sun.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: David Edmondson Cc: xen-devel@lists.xensource.com, John Levon List-Id: xen-devel@lists.xenproject.org On Fri, Oct 05, 2007 at 03:33:01PM +0100, David Edmondson wrote: > On Fri, Oct 05, 2007 at 03:00:31PM +0100, Keir Fraser wrote: > > Perhaps slightly gross, but could we perhaps: > > Yes, "blech". > > It seems that at the place where 'None' is interpreted to mean > 'netfront' we need to use xoptions.netback_type rather than > 'netfront'. That would be the kernel... Can't your code which looks at xenstore for the type field just treat the absence of it as 'SUNW_mac' or whatever default value you want to use ? Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|