]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: add ping test to static-mem test
authorStefano Stabellini <stefano.stabellini@amd.com>
Fri, 31 Jan 2025 23:30:55 +0000 (15:30 -0800)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 4 Mar 2025 00:05:13 +0000 (16:05 -0800)
With the recent fixes, Dom0less direct mapped domains can use PV
drivers. Extend the existing static-mem test with a PV network ping
tests.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
automation/scripts/qemu-smoke-dom0less-arm64.sh

index 83e1866ca6c5b6904057753031a5dbd6a1b5dfe4..f72d209361815548759676c6b3d331bd8c669c82 100755 (executable)
@@ -25,6 +25,9 @@ if [[ "${test_variant}" == "static-mem" ]]; then
     domU_check="
 mem_range=$(printf \"%08x-%08x\" ${domu_base} $(( ${domu_base} + ${domu_size} - 1 )))
 if grep -q -x \"\${mem_range} : System RAM\" /proc/iomem; then
+    until ifconfig eth0 192.168.0.2 &> /dev/null && ping -c 10 192.168.0.1; do
+        sleep 30
+    done
     echo \"${passed}\"
 fi
 "