tests/vm: do not specify -bios option

When running from the build tree, the executable is able to find
the BIOS on its own; when running from the source tree, a firmware
blob should already be installed and there is no guarantee that
the one in the source tree works with the QEMU that is being used for
the installation.

Just remove the -bios option, since it is unnecessary and in fact
there are other x86 VM tests that do not bother specifying it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2022-06-16 10:30:00 +02:00
parent 180c2f24d5
commit 170ed475cd
4 changed files with 0 additions and 4 deletions

View File

@ -79,7 +79,6 @@ class FedoraVM(basevm.BaseVM):
self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size) self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size)
self.print_step("Booting installer") self.print_step("Booting installer")
self.boot(img_tmp, extra_args = [ self.boot(img_tmp, extra_args = [
"-bios", "pc-bios/bios-256k.bin",
"-machine", "graphics=off", "-machine", "graphics=off",
"-device", "VGA", "-device", "VGA",
"-cdrom", iso "-cdrom", iso

View File

@ -95,7 +95,6 @@ class FreeBSDVM(basevm.BaseVM):
self.print_step("Booting installer") self.print_step("Booting installer")
self.boot(img_tmp, extra_args = [ self.boot(img_tmp, extra_args = [
"-bios", "pc-bios/bios-256k.bin",
"-machine", "graphics=off", "-machine", "graphics=off",
"-device", "VGA", "-device", "VGA",
"-cdrom", iso "-cdrom", iso

View File

@ -86,7 +86,6 @@ class NetBSDVM(basevm.BaseVM):
self.print_step("Booting installer") self.print_step("Booting installer")
self.boot(img_tmp, extra_args = [ self.boot(img_tmp, extra_args = [
"-bios", "pc-bios/bios-256k.bin",
"-machine", "graphics=off", "-machine", "graphics=off",
"-cdrom", iso "-cdrom", iso
]) ])

View File

@ -82,7 +82,6 @@ class OpenBSDVM(basevm.BaseVM):
self.print_step("Booting installer") self.print_step("Booting installer")
self.boot(img_tmp, extra_args = [ self.boot(img_tmp, extra_args = [
"-bios", "pc-bios/bios-256k.bin",
"-machine", "graphics=off", "-machine", "graphics=off",
"-device", "VGA", "-device", "VGA",
"-cdrom", iso "-cdrom", iso