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> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
65fdb2de04
commit
d5ec27a424
1 changed files with 7 additions and 0 deletions
|
@ -369,6 +369,13 @@ test -z "$debug" || echo "GRUB ROM directory: ${rom_directory}" >&2
|
|||
|
||||
if test -z "$debug"; then
|
||||
qemuopts="${qemuopts} -nographic -monitor file:/dev/null"
|
||||
# SeaBIOS 1.11.0 added support for VGA emulation over a serial port. If
|
||||
# this is configured in SeaBIOS, then -nographic causes some extra junk to
|
||||
# end up on the serial console, which interferes with our tests. This
|
||||
# workaround unfortunately causes qemu to issue a warning 'externally
|
||||
# provided fw_cfg item names should be prefixed with "opt/"', but there
|
||||
# doesn't seem to be a better option.
|
||||
qemuopts="${qemuopts} -fw_cfg name=etc/sercon-port,string=0"
|
||||
fi
|
||||
|
||||
if [ x$boot != xnet ] && [ x$boot != xemu ]; then
|
||||
|
|
Loading…
Reference in a new issue