[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 10/17] make-flight: Add a single test with restricted dm



As of this commit, this test is only functional: we don't do any
auditing yet.

Right now save/restore migration is broken with restricted dm, so
disable that test with the recipe flag.  See
  sg-run-job: Allow flight to specify recipe flag to disable migr tests

Run this only on recent enough Xen: the dm_restrict option was added
as an experimental feature in Xen 4.10 (currently as yet unreleased).
(With older libxl/xl, the option would be ignored and the test would
be a waste of time.)

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 make-flight | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/make-flight b/make-flight
index c29a612..ebc9156 100755
--- a/make-flight
+++ b/make-flight
@@ -442,6 +442,20 @@ do_hvm_debian_tests() {
   # For libvirt we only generate -xsm test case.
   if [ "x$qemuu_suffix" == "x-qemuu" ]; then
     do_hvm_debian_test_one ovmf xl ovmf false
+
+    case $xenbranch in
+      xen-3.*-testing)     dmrestrict=false ;;
+      xen-4.[0-9]-testing) dmrestrict=false ;;
+      *)                   dmrestrict=true ;;
+    esac
+
+    if $dmrestrict; then
+      do_hvm_debian_test_one dmrestrict xl seabios false '' -dmrestrict '
+                           debianhvm_dmrestrict=true
+                           recipe_nomigrate=true
+                           '
+    fi
+
     for xsm in $xsms ; do
       do_hvm_debian_test_one debianhvm xl seabios $xsm
       if [ x$xsm = xtrue ]; then
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.