WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Xen-changelog] [xen-3.1-testing] xend: fix server/n

To: David Edmondson <dme@xxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] [xen-3.1-testing] xend: fix server/netif.py so that it respects type=None.
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 05 Oct 2007 15:00:31 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, John Levon <levon@xxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 05 Oct 2007 07:01:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071005134119.GB1326@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgHWBdUVZiOMnNLEdyzowAX8io7RQ==
Thread-topic: [Xen-devel] Re: [Xen-changelog] [xen-3.1-testing] xend: fix server/netif.py so that it respects type=None.
User-agent: Microsoft-Entourage/11.3.6.070618
On 5/10/07 14:41, "David Edmondson" <dme@xxxxxxx> wrote:

> "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.

Perhaps slightly gross, but could we perhaps:
    if not typ and xoptions.netback_type != "netfront":
        typ = xoptions.netback_type

Bear in mind that you need a fix quite quickly for 3.1.1...

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>