Commit b7c3c5c1 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Ingo Molnar

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: default avatarJeremy 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: default avatarIngo Molnar <mingo@elte.hu>
parent 5deb30d1
...@@ -1587,6 +1587,7 @@ asmlinkage void __init xen_start_kernel(void) ...@@ -1587,6 +1587,7 @@ asmlinkage void __init xen_start_kernel(void)
boot_params.hdr.ramdisk_image = xen_start_info->mod_start boot_params.hdr.ramdisk_image = xen_start_info->mod_start
? __pa(xen_start_info->mod_start) : 0; ? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len; boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line);
if (!is_initial_xendomain()) { if (!is_initial_xendomain()) {
add_preferred_console("xenboot", 0, NULL); add_preferred_console("xenboot", 0, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment