summary refs log tree commit diff stats
path: root/hw/display/framebuffer.c
diff options
context:
space:
mode:
authorVlad Lungu <vlad.lungu@windriver.com>2016-12-15 14:32:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-12-22 16:00:26 +0100
commit96a3d3927730c9445983f50ac0f55e0fce3851fa (patch)
tree3ad7b08d0095784da9b54bd0e478bbc41d1bf8b6 /hw/display/framebuffer.c
parente3592bc9d841c397eeda87f0019fab94ff71004b (diff)
downloadfocaccia-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