tests: Only pass SeaBIOS fw_opt for x86 non-EFI platforms
This breaks the tests on pseries - just restrict it to x86 platforms that don't specify an EFI. Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
2f4430cc0a
commit
188d2ff1c3
@ -376,7 +376,11 @@ if test -z "$debug"; then
|
||||
# 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.
|
||||
#
|
||||
# SeaBIOS is used for i386, except on EFI.
|
||||
if [ ${grub_modinfo_target_cpu} == 'i386' ] && [ ${grub_modinfo_platform} != 'efi' ]; then
|
||||
qemuopts="${qemuopts} -fw_cfg name=etc/sercon-port,string=0"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ x$boot != xnet ] && [ x$boot != xemu ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user