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] usage of the extra parameter in vm configs

To: mark.williamson@xxxxxxxxxxxx
Subject: Re: [Xen-users] usage of the extra parameter in vm configs
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Prayer.1.0.18.0612301553350.14270@xxxxxxxxxxxxxxxxxxxxxx>
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: <5bb00b3f0612291512q2fb40f10n87800e4e3a56b634@xxxxxxxxxxxxxx> <5bb00b3f0612300737y21428f31idf92893cc618cff3@xxxxxxxxxxxxxx> <Prayer.1.0.18.0612301553350.14270@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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