aboutsummaryrefslogtreecommitdiff
path: root/tests/avocado
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-10-03 10:42:45 +1000
committerNicholas Piggin <npiggin@gmail.com>2024-02-23 23:16:35 +1000
commit9bf9479328ab3c4a15ef0beb2c93b5e82b8f5209 (patch)
tree4a514016226f453b9a26cb104dd58096549f0ccc /tests/avocado
parent8d07a8aef6feb7d8db4fabdcc3753636c562febe (diff)
tests/avocado: Add pseries KVM boot_linux test
ppc has no avocado tests for the KVM backend. Add a KVM boot_linux.py test for pseries. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'tests/avocado')
-rw-r--r--tests/avocado/boot_linux.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py
index de4c8805f7..cdce4cbcba 100644
--- a/tests/avocado/boot_linux.py
+++ b/tests/avocado/boot_linux.py
@@ -103,6 +103,15 @@ class BootLinuxPPC64(LinuxTest):
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.vm.add_args("-machine", "cap-ccf-assist=off")
+ self.launch_and_wait(set_up_ssh_connection=False)
class BootLinuxS390X(LinuxTest):
"""