mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
hv: not necessary to deal with '\n' of cmdline in ACRN.
We removed '\n' in bootargs file so there is no '\n' attached to cmdline when stitching ACRN. Then we don't need to deal with it in ACRN. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
This commit is contained in:
@@ -95,7 +95,7 @@ static void parse_other_modules(struct vm *vm,
|
||||
vm->sw.linux_info.bootargs_src_addr = load_addr;
|
||||
}
|
||||
|
||||
strcpy_s(load_addr + args_size - 1,
|
||||
strcpy_s(load_addr + args_size,
|
||||
100, dyn_bootargs);
|
||||
vm->sw.linux_info.bootargs_size =
|
||||
strnlen_s(load_addr, MEM_2K);
|
||||
|
Reference in New Issue
Block a user