diff options
| author | Vlad Lungu <vlad.lungu@windriver.com> | 2016-12-15 14:32:04 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-12-22 16:00:26 +0100 |
| commit | 96a3d3927730c9445983f50ac0f55e0fce3851fa (patch) | |
| tree | 3ad7b08d0095784da9b54bd0e478bbc41d1bf8b6 /hw/display/framebuffer.c | |
| parent | e3592bc9d841c397eeda87f0019fab94ff71004b (diff) | |
| download | focaccia-qemu-96a3d3927730c9445983f50ac0f55e0fce3851fa.tar.gz focaccia-qemu-96a3d3927730c9445983f50ac0f55e0fce3851fa.zip | |
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: Vlad Lungu <vlad.lungu@windriver.com> Message-Id: <1481805124-16242-1-git-send-email-vlad.lungu@windriver.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/framebuffer.c')
0 files changed, 0 insertions, 0 deletions