From: Dan Magenheimer Subject: RE: ip=x.y.z.w in config file ends up in pv guest /proc/cmdline (but not in xen 3.3) Date: Wed, 8 Apr 2009 15:42:24 +0000 (GMT) Message-ID: References: <435216e6-7011-4be7-a34a-de528b366e58@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <435216e6-7011-4be7-a34a-de528b366e58@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: dan.magenheimer@oracle.com, "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org If anyone is interested, I tracked this down (with some help from Zhigang Wang) to a recent change in pygrub. This one, I think: http://xenbits.xensource.com/xen-unstable.hg?rev/596f21d901f3 Substituting the xen-unstable /usr/bin/pygrub into a xen-3.3.1 toolset provides the same functionality. > -----Original Message----- > From: Dan Magenheimer=20 > Sent: Wednesday, April 01, 2009 4:34 PM > To: Xen-Devel (E-mail) > Subject: ip=3Dx.y.z.w in config file ends up in pv guest /proc/cmdline > (but not in xen 3.3) >=20 >=20 > I found that if you specify ip=3D"ip_address" in > a PV config file, when the PV guest comes up, > /proc/cmdline contains the ip=3D (and some other > stuff). Cool! With minor init script mods, it's > now possible to "configure" a network interface > with an ip specified in the config file, thus > making it easier to "clone" VMs. >=20 > I was then disappointed to find that this feature > (bug fix?) isn't in xen 3.3, just in xen-unstable. >=20 > Can someone point me to the patch that made this > new feature work? If it's not too interdependent > with other stuff, I might try to backport it. >=20 > Thanks, > Dan >