Message ID | 20240107170119.82222-8-npiggin@gmail.com |
---|---|
State | New |
Headers | show |
Series | tests/avocado: ppc additions and other fixes | expand |
On 1/7/24 18:01, Nicholas Piggin wrote: > ppc has no avocado tests for the KVM backend. Add a KVM boot_linux.py > test for pseries. > > Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Thanks, C. > --- > tests/avocado/boot_linux.py | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py > index a4a78122ac..b20b2fc620 100644 > --- a/tests/avocado/boot_linux.py > +++ b/tests/avocado/boot_linux.py > @@ -102,6 +102,14 @@ def test_pseries_tcg(self): > self.vm.add_args("-accel", "tcg") > self.launch_and_wait(set_up_ssh_connection=False) > > + def test_pseries_kvm(self): > + """ > + :avocado: tags=machine:pseries > + :avocado: tags=accel:kvm > + """ > + self.require_accelerator("kvm") > + self.vm.add_args("-accel", "kvm") > + self.launch_and_wait(set_up_ssh_connection=False) > > class BootLinuxS390X(LinuxTest): > """
diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py index a4a78122ac..b20b2fc620 100644 --- a/tests/avocado/boot_linux.py +++ b/tests/avocado/boot_linux.py @@ -102,6 +102,14 @@ def test_pseries_tcg(self): self.vm.add_args("-accel", "tcg") self.launch_and_wait(set_up_ssh_connection=False) + def test_pseries_kvm(self): + """ + :avocado: tags=machine:pseries + :avocado: tags=accel:kvm + """ + self.require_accelerator("kvm") + self.vm.add_args("-accel", "kvm") + self.launch_and_wait(set_up_ssh_connection=False) class BootLinuxS390X(LinuxTest): """
ppc has no avocado tests for the KVM backend. Add a KVM boot_linux.py test for pseries. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- tests/avocado/boot_linux.py | 8 ++++++++ 1 file changed, 8 insertions(+)