* [PATCH] tests/avocado: ppc test VOF bios Linux boot
@ 2023-06-23 12:21 Nicholas Piggin
2023-06-23 15:37 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Piggin @ 2023-06-23 12:21 UTC (permalink / raw)
To: qemu-ppc
Cc: Nicholas Piggin, qemu-devel, Harsh Prateek Bora,
Daniel Henrique Barboza, Cédric Le Goater, David Gibson,
Greg Kurz, Alexey Kardashevskiy
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>
---
This applies on top of the SMP/SMT avocado test I sent. Just
thought it would be a nice addition.
Thanks,
Nick
tests/avocado/ppc_pseries.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/avocado/ppc_pseries.py b/tests/avocado/ppc_pseries.py
index ff42c770f2..a8311e6555 100644
--- a/tests/avocado/ppc_pseries.py
+++ b/tests/avocado/ppc_pseries.py
@@ -29,6 +29,17 @@ def do_test_ppc64_linux_boot(self):
'-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
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tests/avocado: ppc test VOF bios Linux boot
2023-06-23 12:21 [PATCH] tests/avocado: ppc test VOF bios Linux boot Nicholas Piggin
@ 2023-06-23 15:37 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-06-23 15:37 UTC (permalink / raw)
To: Nicholas Piggin, qemu-ppc
Cc: qemu-devel, Harsh Prateek Bora, Daniel Henrique Barboza,
Cédric Le Goater, David Gibson, Greg Kurz,
Alexey Kardashevskiy
On 23/6/23 14:21, Nicholas Piggin wrote:
> 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
Typo "because".
> just dip one toe in the water first here. SLOF should continue to be
> tested too.
>
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
> ---
>
> This applies on top of the SMP/SMT avocado test I sent. Just
> thought it would be a nice addition.
>
> Thanks,
> Nick
>
> tests/avocado/ppc_pseries.py | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/tests/avocado/ppc_pseries.py b/tests/avocado/ppc_pseries.py
> index ff42c770f2..a8311e6555 100644
> --- a/tests/avocado/ppc_pseries.py
> +++ b/tests/avocado/ppc_pseries.py
> @@ -29,6 +29,17 @@ def do_test_ppc64_linux_boot(self):
> '-append', kernel_command_line)
> self.vm.launch()
>
> + def test_ppc64_vof_linux_boot(self):
> + """
> + :avocado: tags=arch:ppc64
> + :avocado: tags=machine:pseries
Note, you could add 'tags:firmware:vof' if filtering to run only tests
booting VOF is useful.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-23 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 12:21 [PATCH] tests/avocado: ppc test VOF bios Linux boot Nicholas Piggin
2023-06-23 15:37 ` Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).