tests: Disable sercon in SeaBIOS
SeaBIOS 1.11.0 added support for VGA emulation over a serial port, which
interferes with grub-shell. Turn it off.
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Forwarded: https://lists.gnu.org/archive/html/grub-devel/2018-07/msg00113.html
Last-Update: 2018-07-30
Patch-Name: tests-disable-sercon-in-seabios.patch
Colin Watson authored 5 years ago
Colin Watson committed 5 years ago
368 | 368 | |
369 | 369 | if test -z "$debug"; then |
370 | 370 | qemuopts="${qemuopts} -nographic -monitor file:/dev/null" |
371 | # SeaBIOS 1.11.0 added support for VGA emulation over a serial port. If | |
372 | # this is configured in SeaBIOS, then -nographic causes some extra junk to | |
373 | # end up on the serial console, which interferes with our tests. This | |
374 | # workaround unfortunately causes qemu to issue a warning 'externally | |
375 | # provided fw_cfg item names should be prefixed with "opt/"', but there | |
376 | # doesn't seem to be a better option. | |
377 | qemuopts="${qemuopts} -fw_cfg name=etc/sercon-port,string=0" | |
371 | 378 | fi |
372 | 379 | |
373 | 380 | if [ x$boot != xnet ] && [ x$boot != xemu ]; then |