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-users

Re: [Xen-users] Passing kernel parameters from vm script

To: "Reinhard Brandstaedter" <Reinhard.Brandstaedter@xxxxxx>
Subject: Re: [Xen-users] Passing kernel parameters from vm script
From: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Mon, 29 Jan 2007 15:59:49 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Jan 2007 06:59:49 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Wus/a3vPLHHS81KEwzx0w6M/kvY2TwaFLwz2eE7GSG4w2BiBozhxB/euegoZU5vogDqmHYVd/aRoI+iYksxGHwd3Jg7Cc6AEih+W3tpn5LrZr3FVPt40zqI+SWclkOVtZZX3INSJ1BfGC+1MFrgGXkw4m8oqYwEOYxfvhBBYsXM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45BDB5C102000042000079CF@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45BDB5C102000042000079CF@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 1/29/07, Reinhard Brandstaedter <Reinhard.Brandstaedter@xxxxxx> wrote:

However I guess it's because im using
bootloader="/usr/bin/pygrub"
this is not working. I guess I need to boot the kernel directly to pass
arguments, right?

When you use pygrub, this means that the grub config _inside_ of your
guest disk is used to boot the kernel _inside_ your guest disk.
So you have to set parameters there.
I don't know of pygub can be handed over some additional stuff that it
again hands over to the kernel booted with this grub config - read the
source :)

But nevertheless if I set dhcp = dhcp in the vm config file this
parameter is somehow passed to the kernel and to init:
[root@apache-2 ~]# cat /proc/1/environ
HOME=/TERM=linuxip=:1.2.3.4::::eth0:dhcpSELINUX_INIT=YES

Oh, really? Interesting!
Did you try the "bootargs" option, too? I never used it personally,
but it might be helping you?!

Henning

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

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