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] [PATCH] >1 IP address on eth0 causes hotplug script fail

To: James Dykman <dykman@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] >1 IP address on eth0 causes hotplug script failure
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 22 Feb 2006 20:52:45 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 22 Feb 2006 20:53:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OFB7899D93.DC94EDF9-ON8525711D.006E021D-8525711D.007238FD@xxxxxxxxxx>
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>
References: <OFB7899D93.DC94EDF9-ON8525711D.006E021D-8525711D.007238FD@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Feb 22, 2006 at 03:47:38PM -0500, James Dykman wrote:

> Adding a second IP address onto eth0 causes the vif-* hotplug scripts to 
> fail: ip_of() is returning a LIST of IP addresses, one per line.
> The vif-scripts attempt to use the list where single addresses ought to 
> be, with predictable results. This patch changes ip_of() to return
> the first address in the list, which seems to be the first one configured.
> 
> This came up while testing the patch for the checksum errors on IPSEC 
> tunnels. I added an IP address for the tunnel on eth0 and
> domUs wouldn't start anymore. 
> 
> Since this changes vif-common.sh, I ran xm-test using -bridge, -route, and 
> -nat scripts, each with 1 and 4 IP addresses on eth0.
> 
> Signed-off-by: Jim Dykman <dykman@xxxxxxxxxx>

Applied, thank you.

Ewan.

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

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