We have some hosts in the colo which are not supported by older Linux versions.
Add a suitable hostflag using the new resource conditions syntax to cause this to occur. Signed-off-by: Ian Campbell <ian.campb...@citrix.com> Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> --- mfi-common | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mfi-common b/mfi-common index 991baf5..212a41d 100644 --- a/mfi-common +++ b/mfi-common @@ -365,6 +365,14 @@ test_matrix_iterate () { *) pairtoolstack="xl libvirt" ;; esac + case "$branch" in + linux-[3-9].[0-9]*) + min_linux_hostflag=PropMinVer:LinuxKernelMin:${branch#linux-} + ;; + *) + ;; + esac + for xenarch in ${TEST_ARCHES- i386 amd64 armhf } ; do if [ "x$xenarch" = xdisable ]; then continue; fi @@ -436,6 +444,9 @@ test_matrix_iterate () { fi most_hostflags="arch-$dom0arch,arch-xen-$xenarch,suite-$suite,purpose-test" + if [ "x$min_linux_hostflag" != "x" ] ; then + most_hostflags="$most_hostflags,$min_linux_hostflag" + fi most_runvars=" arch=$dom0arch \ -- 2.5.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel