]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/vm: do not specify -bios option
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2022 08:30:00 +0000 (10:30 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2022 07:27:58 +0000 (09:27 +0200)
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>
tests/vm/fedora
tests/vm/freebsd
tests/vm/netbsd
tests/vm/openbsd

index 92b78d6e2c9e4ed5e69ea6c8027553d0712790bf..12eca919a08e45becc8cc77a9cda8406374f4b93 100755 (executable)
@@ -79,7 +79,6 @@ class FedoraVM(basevm.BaseVM):
         self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size)
         self.print_step("Booting installer")
         self.boot(img_tmp, extra_args = [
-            "-bios", "pc-bios/bios-256k.bin",
             "-machine", "graphics=off",
             "-device", "VGA",
             "-cdrom", iso
index 805db759d67041790864c4e0441e47fc4e662107..cd1fabde523d6166d153136852d49281aadf19e4 100755 (executable)
@@ -95,7 +95,6 @@ class FreeBSDVM(basevm.BaseVM):
 
         self.print_step("Booting installer")
         self.boot(img_tmp, extra_args = [
-            "-bios", "pc-bios/bios-256k.bin",
             "-machine", "graphics=off",
             "-device", "VGA",
             "-cdrom", iso
index 45aa9a7fda79d6e8bae5a943c3b006c0c7bfdb1d..aa883ec23c962855ab450454ea9466ca1e73e70a 100755 (executable)
@@ -86,7 +86,6 @@ class NetBSDVM(basevm.BaseVM):
 
         self.print_step("Booting installer")
         self.boot(img_tmp, extra_args = [
-            "-bios", "pc-bios/bios-256k.bin",
             "-machine", "graphics=off",
             "-cdrom", iso
         ])
index 13c825421407632f51e1e7f6f0f68c5ec9b6a581..6f1b6f5b98a4bf4d07c6a8718bc74d5234c4c234 100755 (executable)
@@ -82,7 +82,6 @@ class OpenBSDVM(basevm.BaseVM):
 
         self.print_step("Booting installer")
         self.boot(img_tmp, extra_args = [
-            "-bios", "pc-bios/bios-256k.bin",
             "-machine", "graphics=off",
             "-device", "VGA",
             "-cdrom", iso