Skip to content
Commit 96a3d392 authored by Vlad Lungu's avatar Vlad Lungu Committed by Paolo Bonzini
Browse files

multiboot: copy the cmdline verbatim, unescape module strings



get_opt_value() truncates the value at the first comma
Use memcpy() instead so that -append works correctly in the
presence of commas.  For -initrd to work right, instead,
unescape the module filename and parameters with get_opt_value()
before calling mb_add_cmdline().

Signed-off-by: default avatarVlad Lungu <vlad.lungu@windriver.com>
Message-Id: <1481805124-16242-1-git-send-email-vlad.lungu@windriver.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e3592bc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment