[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 03/11] tests/avocado: Add pseries KVM boot_linux test
From: |
Nicholas Piggin |
Subject: |
[RFC PATCH 03/11] tests/avocado: Add pseries KVM boot_linux test |
Date: |
Tue, 10 Oct 2023 17:52:30 +1000 |
There is not much support for KVM backend. Add a KVM boot_linux.py
test for pseries.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
tests/avocado/boot_linux.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index be30dcbd58..6ce08ff6aa 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -103,6 +103,15 @@ def test_pseries_tcg(self):
self.vm.add_args("-accel", "tcg")
self.launch_and_wait(set_up_ssh_connection=False)
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
+ 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):
"""
--
2.42.0
[RFC PATCH 05/11] testing/avocado: ppc add new BookE boot_linux_console.py tests, Nicholas Piggin, 2023/10/10