mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tests/avocado/boot_xen.py: merge base classes
While it's a good practice to have reusable base classes, in this specific case there's no other user of the BootXenBase class. By unifying the class used in this test, we can improve readability and have the opportunity to add some future improvements in a clearer fashion. Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-ID: <20231208190911.102879-9-crosa@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a7ddb48bd1
commit
b22bf37dff
1 changed files with 1 additions and 4 deletions
|
@ -17,7 +17,7 @@ from avocado_qemu import wait_for_console_pattern
|
||||||
from boot_linux_console import LinuxKernelTest
|
from boot_linux_console import LinuxKernelTest
|
||||||
|
|
||||||
|
|
||||||
class BootXenBase(LinuxKernelTest):
|
class BootXen(LinuxKernelTest):
|
||||||
"""
|
"""
|
||||||
Boots a Xen hypervisor with a Linux DomU kernel.
|
Boots a Xen hypervisor with a Linux DomU kernel.
|
||||||
"""
|
"""
|
||||||
|
@ -59,9 +59,6 @@ class BootXenBase(LinuxKernelTest):
|
||||||
console_pattern = 'VFS: Cannot open root device'
|
console_pattern = 'VFS: Cannot open root device'
|
||||||
wait_for_console_pattern(self, console_pattern, "Panic on CPU 0:")
|
wait_for_console_pattern(self, console_pattern, "Panic on CPU 0:")
|
||||||
|
|
||||||
|
|
||||||
class BootXen(BootXenBase):
|
|
||||||
|
|
||||||
def test_arm64_xen_411_and_dom0(self):
|
def test_arm64_xen_411_and_dom0(self):
|
||||||
"""
|
"""
|
||||||
:avocado: tags=arch:aarch64
|
:avocado: tags=arch:aarch64
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue