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@eu.citrix.com>
# 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