[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] pygrub: parse xen module option in grub


  • To: John Levon <levon@xxxxxxxxxxxxxxxxx>
  • From: Wei Kong <weikong.cn@xxxxxxxxx>
  • Date: Fri, 20 Feb 2009 11:20:38 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Feb 2009 19:21:04 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bEs0AYQTK4FjbsKf+T5ndP9GaWNTtR5SUlDC6ZJOqJKIH4u/CdeAMJKX40QfmsfrCd ihH7E9CDIxDaqPEWK09nqEPS7gXL0qTkWqq8xadikntBNbE7WHl5IF0kBk6wwXKPP7UY x2eop3vRj3E588Ul7TYBgqCMLk/QddC0OUIco=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



2009/2/20 John Levon <levon@xxxxxxxxxxxxxxxxx>
On Fri, Feb 20, 2009 at 10:40:14AM +0800, Wei Kong wrote:

> Add function for GrubConf to parse xen module option in grub.

Why?
thanks, John
 
Maybe that "guest" doesn't have right kernel pattern as xen module.
o, the "guest" means an os on a phy partition which never be a guest before.
Due to sometimes I have many os on different partitions, but I haven't any guest and I don't want install one,
so just let xen boot any exist os as guest.  

 
> Pygrub should pass args as domUloader did.

domUloader was never in the tree.

> -            sxp += "(args \"%s\")" % chosencfg["args"]
> +            sxp += "(args \"%s %s\")" % (chosencfg["args"], incfg["args"])

Are you trying to let the user add arguments to the ones specified in
grub? Why?
Yes, this args is the one user want to pass to guest kernel, 
domUloader real did this, and sorry for I don't know domUloader isn't in this tree.
 

The patch is wrong anyway, you can't just add on the incoming args for
Solaris at least. At the very least you need to add the args only when
run_grub() is called.

No, I didn't add any args for solaris.
Because I don't want to add args for Solaris, so I add args here, not in run_grub().

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.