]> Git Repo - qemu.git/commit
hw/i386/pc: fix regression in parsing vga cmdline parameter
authorPeter Wu <[email protected]>
Sat, 21 Dec 2019 16:21:24 +0000 (17:21 +0100)
committerPaolo Bonzini <[email protected]>
Tue, 7 Jan 2020 11:08:39 +0000 (12:08 +0100)
commita88c40f02ace88f09b2a85a64831b277b2ebc88c
treea9540831d7232712cb87d934b295606e78d3b88e
parent218fc2b5c83948fe75a6de09be14fb8aef09bb10
hw/i386/pc: fix regression in parsing vga cmdline parameter

When the 'vga=' parameter is succeeded by another parameter, QEMU 4.2.0
would refuse to start with a rather cryptic message:

    $ qemu-system-x86_64 -kernel /boot/vmlinuz-linux -append 'vga=792 quiet'
    qemu: can't parse 'vga' parameter: Invalid argument

It was not clear whether this applied to the '-vga std' parameter or the
'-append' one. Fix the parsing regression and clarify the error.

Fixes: 133ef074bd ("hw/i386/pc: replace use of strtol with qemu_strtoui in x86_load_linux()")
Cc: Sergio Lopez <[email protected]>
Signed-off-by: Peter Wu <[email protected]>
Message-Id: <20191221162124.1159291[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
hw/i386/x86.c
This page took 0.025325 seconds and 4 git commands to generate.