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-devel

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

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] Allow tools to see the hypervisor command line.
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Wed, 17 Jun 2009 16:49:41 +0100
Cc: Keir, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 17 Jun 2009 08:50:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200906171742.13899.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <1245252745.5862.145.camel@xxxxxxxxxxxxxxxxxxxxxx> <200906171742.13899.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>