Skip to content

Commit

Permalink
tests/avocado: Add pseries KVM boot_linux test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
npiggin committed Feb 23, 2024
1 parent 8d07a8a commit 9bf9479
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/avocado/boot_linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ 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.vm.add_args("-machine", "cap-ccf-assist=off")
self.launch_and_wait(set_up_ssh_connection=False)

class BootLinuxS390X(LinuxTest):
"""
Expand Down

0 comments on commit 9bf9479

Please sign in to comment.