aboutsummaryrefslogtreecommitdiff
path: root/tests/avocado
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-06-23 22:21:35 +1000
committerCédric Le Goater <clg@kaod.org>2023-06-25 22:41:31 +0200
commit5eb63b88d0ac259c2f49e62b6dcc6527a5caf255 (patch)
tree18c2af50822bf8974eff8be3bea177190e01ebdf /tests/avocado
parent177835304b39b6ed6a7c51fd19263ac10995dbec (diff)
downloadqemu-5eb63b88d0ac259c2f49e62b6dcc6527a5caf255.zip
qemu-5eb63b88d0ac259c2f49e62b6dcc6527a5caf255.tar.gz
qemu-5eb63b88d0ac259c2f49e62b6dcc6527a5caf255.tar.bz2
tests/avocado: ppc test VOF bios Linux boot
VOF is the new lightweight fast pseries bios. Add a Linux boot test using VOF. More tests could be moved to use VOF becasue it's much faster, but just dip one toe in the water first here. SLOF should continue to be tested too. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'tests/avocado')
-rw-r--r--tests/avocado/ppc_pseries.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/avocado/ppc_pseries.py b/tests/avocado/ppc_pseries.py
index ff42c77..a8311e6 100644
--- a/tests/avocado/ppc_pseries.py
+++ b/tests/avocado/ppc_pseries.py
@@ -29,6 +29,17 @@ class pseriesMachine(QemuSystemTest):
'-append', kernel_command_line)
self.vm.launch()
+ def test_ppc64_vof_linux_boot(self):
+ """
+ :avocado: tags=arch:ppc64
+ :avocado: tags=machine:pseries
+ """
+
+ self.vm.add_args('-machine', 'x-vof=on')
+ self.do_test_ppc64_linux_boot()
+ console_pattern = 'VFS: Cannot open root device'
+ wait_for_console_pattern(self, console_pattern, self.panic_message)
+
def test_ppc64_linux_boot(self):
"""
:avocado: tags=arch:ppc64