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] [PATCH][XEN] Don't throw away cmdline parameter

To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XEN] Don't throw away cmdline parameter
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 20 Oct 2008 14:43:51 +0100
Cc:
Delivery-date: Mon, 20 Oct 2008 06:44:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200810201523.40243.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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckyueKrIXFb0p6tEd2bHQAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][XEN] Don't throw away cmdline parameter
User-agent: Microsoft-Entourage/11.4.0.080122
On 20/10/08 14:23, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> attach patch avoids throwing away the first cmdline parameter.
> It contains the dom0 kernel filename.
> 
> On NetBSD, this is used to set sysctl.booted_kernel
> This sysctl entry is used by the kvm framework
> (http://netbsd.gw.com/cgi-bin/man-cgi?kvm+3+NetBSD-current)
> and savecore (http://netbsd.gw.com/cgi-bin/man-cgi?savecore+8+NetBSD-current).
> The kvm framework is used by almost all system utilities.
> 
> Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>

Doing this would make dom0 start_info format differ from domU start_info
format. If an accurate filename is actually useful then I'd consider making
an extension to start_info format (e.g., an extra SIF_ flag and use that to
indicate an extra string appended to cmd_line[] containing the kernel
filename). Or those who do care can explicitly duplicate the filename into
the cmdline in their domain config file or bootloader config file.

 -- Keir



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

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