From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH][XEN] Don't throw away cmdline parameter
Date: Mon, 20 Oct 2008 15:23:40 +0200 [thread overview]
Message-ID: <200810201523.40243.Christoph.Egger@amd.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]
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-current).
The kvm framework is used by almost all system utilities.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
AMD Saxony, Dresden, Germany
Operating System Research Center
Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
Dr. Hans-R. Deppe, Thomas McCoy
[-- Attachment #2: cmdline.diff --]
[-- Type: text/x-diff, Size: 345 bytes --]
$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 )
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2008-10-20 13:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-20 13:23 Christoph Egger [this message]
2008-10-20 13:43 ` [PATCH][XEN] Don't throw away cmdline parameter Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810201523.40243.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.