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

Re: [Xen-devel] Allow tools to see the hypervisor command line.



On Wed, 2009-06-17 at 11:42 -0400, Christoph Egger wrote:
> On Wednesday 17 June 2009 17:32:25 Ian Campbell wrote:
> > This is useful from tools in the same way /proc/cmdline is useful for
> > the domain 0 kernel.
> 
> On NetBSD Dom0, this is sysctl machdep.booted_kernel.
> Current implementation doesn't work properly, since Xen throws away
> the first argument at startup.
> Is it possible to not kill it ?

You mean "module /boot/netsd foo=bar baz=1" becomes just "foo=bar baz=1"
on the command line which the kernel sees but on native netbsd it would
be "/boot/netsd foo=bar baz=1"? This patch wouldn't make any difference
to that (I guess you are just bringing it up as an aside).

Changing Xen's behaviour here would be interesting -- Linux for example
doesn't expect to get the extra element on the command line, not sure
what it would do with it, similarly for other existing dom0 guests. It
would also be inconsistent with how PV domU's are launched.

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