From: Keir Fraser Subject: Re: [PATCH][XEN] Don't throw away cmdline parameter Date: Mon, 20 Oct 2008 14:43:51 +0100 Message-ID: References: <200810201523.40243.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200810201523.40243.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 20/10/08 14:23, "Christoph Egger" 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 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