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

Re: [Xen-users] usage of the extra parameter in vm configs


  • To: mark.williamson@xxxxxxxxxxxx
  • From: "Henning Sprang" <henning_sprang@xxxxxx>
  • Date: Sat, 30 Dec 2006 18:29:34 +0100
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 30 Dec 2006 09:29:42 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; 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=nlJhsoOByLop4CQy83KhekQbdPY+uZhCE8FTqntsk5v+xATa5M4wPgRNmJ/i/3ZRiNgjl54forpg/x0Yk7IxJJm/qBp0nySnExnTyeTgUimy5hWyglPYlro80Q2q1U7loPjL90TkTOeiYlbb7mulwrWdgFXuSdI/MB0BZOfvK6c=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 30 Dec 2006 15:53:35 +0000, M.A. Williamson <maw48@xxxxxxxxx> wrote:
[...]
You could. Or you could stick them all in the "extra" argument. The only
real reason that the variables are done this way is that it decouples the
user from the realities of Linux a little... Additional variables used to
be used to pass IP / NFS root information on the command line but I'm not
sure if this is still done...

yeah, nfs_root and dhcp also are transferred to the kernel command
line. Don't know about the others.

The config file parser isn't *very* aware of how Linux command line syntax
works. At some stage it may be useful to make it more aware, for purposes
of providing more helpful configuration warnings - however, this still
doesn't really require the separate variables.

Yes, it might look simpler for unexperienced users if they have all
the dhcp, root, ... variables, and enter exactly one value in each,
and experienced users with special needs can use "extra" for
everything special they need.

Out of interest, would anybody on the users list object to a general shift
towards supplying the whole command line in one variable, rather than
piecemeal in specially named fields?

I wouldn't mind.  As said, singeling them out looks easier maybe. (for
example new users don't have to search a long "extra" line, but can be
pointed to the single root variable for adjusting a boot partition if
needed.

I think most important and sufficient would be to document it clear in
xm create --help_config and man xmdomain.cfg what is now only
documented in this thread.

Henning

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


 


Rackspace

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