mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-01 16:53:46 +00:00
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>
This commit is contained in:
parent
8d07a8aef6
commit
9bf9479328
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue