From bd4b43ea3d7439b74f90cb1fd4cdd81d2082f226 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 11 Jun 2018 14:09:35 +0100 Subject: [PATCH] sg-run-job: Allow flight to specify recipe flag to disable migr tests We want this because there is no sensible way to probe whether a restricted qemu can cope with save/restore or migration. So we will want to disable it in flight construction (depending on Xen version, eventually). Signed-off-by: Ian Jackson --- sg-run-job | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sg-run-job b/sg-run-job index 1355876..965e55d 100755 --- a/sg-run-job +++ b/sg-run-job @@ -591,6 +591,9 @@ proc run-job/test-livepatch {} { } proc test-guest-migr {g} { + # guest is expected to be running and remains so + if {[recipe-flag nomigrate]} return + set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1] set can_migrate [reap-ts $to_reap] set to_reap [spawn-ts . = ts-saverestore-support-check + host $g] -- 2.39.5