diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 18:07:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:04:13 -0400 |
commit | b7c3c5c15936a40c79ef40af7b3bac801c7feb20 (patch) | |
tree | a14414ab41dbaef196ea72ab47e73618ef66537a /arch | |
parent | 5deb30d194d28b6bf7dacfb758267a51bf7c5b78 (diff) |
xen: make sure the kernel command line is right
Point the boot params cmd_line_ptr to the domain-builder-provided
command line.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/xen/enlighten.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 3b6b7fcf5b55..0172ba774523 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1587,6 +1587,7 @@ asmlinkage void __init xen_start_kernel(void) | |||
1587 | boot_params.hdr.ramdisk_image = xen_start_info->mod_start | 1587 | boot_params.hdr.ramdisk_image = xen_start_info->mod_start |
1588 | ? __pa(xen_start_info->mod_start) : 0; | 1588 | ? __pa(xen_start_info->mod_start) : 0; |
1589 | boot_params.hdr.ramdisk_size = xen_start_info->mod_len; | 1589 | boot_params.hdr.ramdisk_size = xen_start_info->mod_len; |
1590 | boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line); | ||
1590 | 1591 | ||
1591 | if (!is_initial_xendomain()) { | 1592 | if (!is_initial_xendomain()) { |
1592 | add_preferred_console("xenboot", 0, NULL); | 1593 | add_preferred_console("xenboot", 0, NULL); |