Skip to contentSkip to conversation

tests/functional: Convert the kvm_xen_guest avocado test

PATCH New Thomas Huth 1 participant 1 message Jan 13, 2025 Arm/Amlogic Meson SoC support

v2 of 3 New Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests/functional: Convert the kvm_xen_guest avocado test

Use the serial console to execute the commands in the guest instead of using ssh since we don't have ssh support in the functional framework yet.

---
v2: Add "quiet" to KERNEL_DEFAULT to avoid races on the serial console

 MAINTAINERS                                   |  2 +-
 tests/functional/meson.build                  |  2 +
 .../test_x86_64_kvm_xen.py}                   | 83 +++++++++++--------
 3 files changed, 52 insertions(+), 35 deletions(-)
 rename tests/{avocado/kvm_xen_guest.py => functional/test_x86_64_kvm_xen.py} (64%)
 mode change 100644 => 100755
MAINTAINERS +1 -1
index 6ec8ff6b3a..045eb206bb 100644
@@ -486,7 +486,7 @@ S: Supported
 F: include/system/kvm_xen.h
 F: target/i386/kvm/xen*
 F: hw/i386/kvm/xen*
-F: tests/avocado/kvm_xen_guest.py
+F: tests/functional/test_x86_64_kvm_xen.py
 
 Guest CPU Cores (other accelerators)
 ------------------------------------
tests/functional/meson.build +2 -0
index f47366ee3d..7974814d6b 100644
@@ -42,6 +42,7 @@ test_timeouts = {
   'riscv64_tuxrun' : 120,
   's390x_ccw_virtio' : 420,
   'sh4_tuxrun' : 240,
+  'x86_64_kvm_xen' : 180,
 }
 
 tests_generic_system = [
@@ -267,6 +268,7 @@ tests_x86_64_system_thorough = [
   'netdev_ethtool',
   'virtio_gpu',
   'x86_64_hotplug_cpu',
+  'x86_64_kvm_xen',
   'x86_64_tuxrun',
 ]
 
tests/functional/test_x86_64_kvm_xen.py renamed from tests/avocado/kvm_xen_guest.py +49 -34

152 lines not on this page · raw message

Signature · 1 line
2.47.1