mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
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>
This commit is contained in:
parent
5deb30d194
commit
b7c3c5c159
@ -1587,6 +1587,7 @@ asmlinkage void __init xen_start_kernel(void)
|
||||
boot_params.hdr.ramdisk_image = xen_start_info->mod_start
|
||||
? __pa(xen_start_info->mod_start) : 0;
|
||||
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()) {
|
||||
add_preferred_console("xenboot", 0, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user