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] Recent xl and network-route scripts

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Recent xl and network-route scripts
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 17 Feb 2011 09:19:34 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "W. Michael Petullo" <mike@xxxxxxxx>
Delivery-date: Thu, 17 Feb 2011 01:20:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110217072944.GA5345@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <20110217011331.GA3090@xxxxxxxxx> <20110217072944.GA5345@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2011-02-17 at 07:29 +0000, Pasi Kärkkäinen wrote:
> On Wed, Feb 16, 2011 at 07:13:31PM -0600, W. Michael Petullo wrote:
> > I've been testing recent Xen 4.1 release candidates, and it seems that
> > "xl" does not want to play nicely with the vif-route script.
> > 
> > First, the udev subsystem executes vif-setup after Xen creates the
> > vif device. For some reason, this script does not have $script defined
> > and so it defaults to running vif-bridge (even though xend-config.sxp
> > specifies vif-route).
> 
> I don't think xl/libxl reads/parses xend-config.sxp .. 

There is an /etc/xl.conf but I don't believe it contains a setting for
the default vif script. It probably could/should though.

As a workaround I believe adding ",script=foo" to the vif entry might
work?

> > Once I changed vif-setup by hand to run vif-route
> > things went further. I'm not entirely sure how $script is supposed to
> > be set, but it worked fine with xm.
> > 
> > Next, vif-route does not pick up $ip from my domain configuration's
> > "vif = [ 'ip=w.x.y.z' ]." When using xm, vif-route finds $ip set and
> > creates a route based on its value.

It looks like xl parses the ip option but that libxl doesn't do anything
with it.

I'll see if I can out a patch together for both of these issues shortly.

Ian.


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

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