From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH][XEN] Don't throw away cmdline parameter Date: Mon, 20 Oct 2008 15:23:40 +0200 Message-ID: <200810201523.40243.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_cZI/I3V4xekXEqW" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_cZI/I3V4xekXEqW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, 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-curren= t). The kvm framework is used by almost all system utilities. Signed-off-by: Christoph Egger =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --Boundary-00=_cZI/I3V4xekXEqW Content-Type: text/x-diff; charset="us-ascii"; name="cmdline.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cmdline.diff" $NetBSD$ --- xen/arch/x86/setup.c.orig 2008-10-08 23:39:00.000000000 +0200 +++ xen/arch/x86/setup.c @@ -998,7 +998,6 @@ void __init __start_xen(unsigned long mb { static char dom0_cmdline[MAX_GUEST_CMDLINE]; - cmdline = cmdline_cook(cmdline); safe_strcpy(dom0_cmdline, cmdline); if ( kextra != NULL ) --Boundary-00=_cZI/I3V4xekXEqW Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_cZI/I3V4xekXEqW--