From mboxrd@z Thu Jan 1 00:00:00 1970 From: jdsw Subject: IP and hostname for domU Date: Tue, 14 Nov 2006 16:48:28 -0800 (PST) Message-ID: <20061115004828.89685.qmail@web35815.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1382398607==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xendevel List-Id: xen-devel@lists.xenproject.org --===============1382398607== Content-Type: multipart/alternative; boundary="0-725446410-1163551708=:89519" Content-Transfer-Encoding: 8bit --0-725446410-1163551708=:89519 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Forwarding to devel list. (changed the wordings bit) The xmexample1 seems to contain hostname= "vm%d" % vmid Does this work with HVM ? I tried setting hostname=foo for my HVM based FC5 Linux domU. It does not seem to work. Also, is there a way to set IP address for a Linux HVM DomU ? I have seen somewhere (not in xen example) vif = [ 'ip=192.168.1.12' ] How do both these work ? (if they are supposed to work ) Are some scripts run after DomU is instantiated ? OR are passed as kernel params ? Thanks /Jd ps. anyone using these params, can u please send me output of cat /proc/cmdline from DomU --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-725446410-1163551708=:89519 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Forwarding to devel list.
(changed the wordings bit)

The xmexample1 seems to contain

hostname= "vm%d" % vmid

Does this work with HVM ? I tried setting hostname=foo for my HVM based FC5 Linux domU. It does not seem to work.

Also, is there a way to set IP address for a Linux HVM DomU ?
I have seen somewhere (not in xen example)
  vif = [ 'ip=192.168.1.12' ]

How do both these work ? (if they are supposed to work )
Are some scripts run after DomU is instantiated ? OR are passed as kernel params ?

Thanks
/Jd
ps. anyone using these params, can u please send me output of
   cat /proc/cmdline
from DomU



Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.


Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. --0-725446410-1163551708=:89519-- --===============1382398607== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1382398607==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew D. Ball" Subject: Re: IP and hostname for domU Date: Thu, 16 Nov 2006 11:19:25 -0500 Message-ID: <1163693966.24087.34.camel@localhost> References: <20061115004828.89685.qmail@web35815.mail.mud.yahoo.com> Reply-To: aball@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061115004828.89685.qmail@web35815.mail.mud.yahoo.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: jdsw Cc: xendevel List-Id: xen-devel@lists.xenproject.org I strongly dislike the {ip, dhcp, root*} options. They map to Linux kernel options. If someone wants to do that in the configuration instead of a bootloader configuration, I think the should use the ill-named 'extra' option, which is appended to the kernel command line. This is for paravirtualized linux domU's. Would be best if ip configuration is done in userspace of the guest unless someone would ordinarily do this with kernel options and doesn't want to use a bootloader. Sorry, I'm a bit sore on this :-) Peace. Andrew On Tue, 2006-11-14 at 16:48 -0800, jdsw wrote: > Forwarding to devel list. > (changed the wordings bit) > > The xmexample1 seems to contain > > hostname= "vm%d" % vmid > > Does this work with HVM ? I tried setting hostname=foo for my > HVM based FC5 Linux domU. It does not seem to work. > > Also, is there a way to set IP address for a Linux HVM DomU ? > I have seen somewhere (not in xen example) > vif = [ 'ip=192.168.1.12' ] > > How do both these work ? (if they are supposed to work ) > Are some scripts run after DomU is instantiated ? OR are > passed as kernel params ? > > Thanks > /Jd > ps. anyone using these params, can u please send me output of > cat /proc/cmdline > from DomU > > > > > ______________________________________________________________ > Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call > rates. > > > > > ______________________________________________________________________ > Check out the all-new Yahoo! Mail beta - Fire up a more powerful email > and get things done faster. > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ian Pratt" Subject: RE: IP and hostname for domU Date: Thu, 16 Nov 2006 16:33:48 -0000 Message-ID: <8A87A9A84C201449A0C56B728ACF491E01F88B@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: aball@linux.vnet.ibm.com, jdsw Cc: xendevel List-Id: xen-devel@lists.xenproject.org =20 > I strongly dislike the {ip, dhcp, root*} options. They map=20 > to Linux kernel options. If someone wants to do that in the=20 > configuration instead of a bootloader configuration, I think=20 > the should use the ill-named 'extra' option, which is=20 > appended to the kernel command line. > This is for paravirtualized linux domU's. >=20 > Would be best if ip configuration is done in userspace of the=20 > guest unless someone would ordinarily do this with kernel=20 > options and doesn't want to use a bootloader. Yep, I'd like to see these disappear when we move to the new config file format.=20 Should we wish to provide convenience functions for the linux kernel command line ip pnp config they should be called cmdline_linux_ip_addr etc. Ian From mboxrd@z Thu Jan 1 00:00:00 1970 From: jdsw Subject: RE: IP and hostname for domU Date: Sat, 18 Nov 2006 06:34:05 -0800 (PST) Message-ID: <20061118143405.82511.qmail@web35805.mail.mud.yahoo.com> References: <8A87A9A84C201449A0C56B728ACF491E01F88B@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0293198055==" Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E01F88B@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , aball@linux.vnet.ibm.com Cc: xendevel List-Id: xen-devel@lists.xenproject.org --===============0293198055== Content-Type: multipart/alternative; boundary="0-367288359-1163860445=:81849" Content-Transfer-Encoding: 8bit --0-367288359-1163860445=:81849 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Looking at the response, it seems that these (ip,netmask, hostname etc) end up as kernel cmdline parameters. does vif = [ 'ip=192.168.0.12' ] also end up in kernel parameter similar to ip = '192.168.0.12' ? Thanks /Jd Ian Pratt wrote: > I strongly dislike the {ip, dhcp, root*} options. They map > to Linux kernel options. If someone wants to do that in the > configuration instead of a bootloader configuration, I think > the should use the ill-named 'extra' option, which is > appended to the kernel command line. > This is for paravirtualized linux domU's. > > Would be best if ip configuration is done in userspace of the > guest unless someone would ordinarily do this with kernel > options and doesn't want to use a bootloader. Yep, I'd like to see these disappear when we move to the new config file format. Should we wish to provide convenience functions for the linux kernel command line ip pnp config they should be called cmdline_linux_ip_addr etc. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------------------------- Sponsored Link $420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out! --0-367288359-1163860445=:81849 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Looking at the response, it seems that these (ip,netmask, hostname etc) end up as kernel cmdline parameters.

does
vif = [ 'ip=192.168.0.12' ]

also end up in kernel parameter similar to

ip = '192.168.0.12'

?

Thanks
/Jd

Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:

> I strongly dislike the {ip, dhcp, root*} options. They map
> to Linux kernel options. If someone wants to do that in the
> configuration instead of a bootloader configuration, I think
> the should use the ill-named 'extra' option, which is
> appended to the kernel command line.
> This is for paravirtualized linux domU's.
>
> Would be best if ip configuration is done in userspace of the
&g t; guest unless someone would ordinarily do this with kernel
> options and doesn't want to use a bootloader.

Yep, I'd like to see these disappear when we move to the new config file
format.

Should we wish to provide convenience functions for the linux kernel
command line ip pnp config they should be called cmdline_linux_ip_addr
etc.

Ian

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


Sponsored Link

$420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out! --0-367288359-1163860445=:81849-- --===============0293198055== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0293198055==--