Files
qemu/hw
Peter Wu a88c40f02a 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 <slp@redhat.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Message-Id: <20191221162124.1159291-1-peter@lekensteyn.nl>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-07 12:08:39 +01:00
..
2019-08-16 13:31:52 +02:00
2019-12-17 09:01:14 +01:00
2019-08-16 13:31:52 +02:00
2019-12-16 13:04:46 +01:00
2019-12-17 19:33:52 +01:00
2019-12-16 10:46:34 +00:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-08-16 13:31:53 +02:00
2019-11-05 18:52:29 +01:00
2019-10-28 19:06:47 +01:00
2019-11-19 10:01:34 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-10-18 20:38:10 -07:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00