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

Re: [Xen-devel] [PATCH] Add xl domUs default configuration file



On Mon, 2011-06-06 at 14:30 +0100, Stefano Stabellini wrote:
> What do you mean? Xl already provides defaults for almost
> everything...
> In any case the idea of a default xl config file is not bad.

Wouldn't something need to read this file for it to be controlling the
defaults? Would that "something" replace the libxl_*_init and other
places where the library provides a default? How does this work with
other toolstacks using libxl?

Or is this intended to be an xl version of the existing xmexample.*
files? In which case calling it xlexample.* might help people towards
this conclusion. Also avoiding the term "default" would help -- a
default is different to an example.

> > +# Define the disk devices you want the domain to have access to,
> and
> > +# what you want them accessible as.
> > +# For example can be put here a default installation cd.
> > +# disk = [ 'tap2:aio:/var/images/min-el3-i386.img,hdc:cdrom,r' ]
> 
> tap2 shouldn't be the default, probably is better to specify just
> file: here

If this file really is supposed to contain defaults and not examples
then I don't think a default makes sense for this kind of setting.

There is no sane default for disks other than None, they are always
going to have to be in the guest specific config file. Similarly for
nics, kernels, ramdisk etc.

Ian.



_______________________________________________
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®.