]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
make-flight: Run some shadow paging tests (`hap=false')
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 5 Apr 2018 13:01:19 +0000 (14:01 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 5 Apr 2018 13:56:47 +0000 (14:56 +0100)
Add four tests to most flights:

    test-amd64-amd64-xl-shadow
    test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow
    test-amd64-i386-xl-shadow
    test-amd64-i386-xl-qemuu-debianhvm-amd64-shadow

These are the same as the corresponding ones without -shadow, except
that they set xen_boot_append to `hap=false', so that that will be
passed to the hypervisor to force shadow paging.

CC: Jan Beulich <jbeulich@suse.com>
CC: George Dunlap <george.dunlap@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Partially-Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
make-flight

index 1a8f0a6a01a68300b0d3c6cccebff220a1252bb7..6b53c94881e16945ecd2defc614350290c8759da 100755 (executable)
@@ -500,6 +500,16 @@ do_rtds_tests () {
             $debian_runvars all_hostflags=$most_hostflags
 }
 
+do_shadow_tests () {
+  job_create_test test-$xenarch$kern-$dom0arch-xl-shadow              \
+       test-debian xl $xenarch $dom0arch                              \
+            guests_vcpus=4 xen_boot_append='hap=false'                \
+            $debian_runvars all_hostflags=$most_hostflags
+
+  do_hvm_debian_test_one debianhvm xl seabios false '' -shadow \
+                         "xen_boot_append=hap=false"
+}
+
 do_xtf_tests () {
   if ! branch_wants_xtf_tests; then
       return
@@ -848,6 +858,8 @@ test_matrix_do_one () {
   do_pygrub_tests
   do_pvgrub_tests
 
+  do_shadow_tests
+
   do_xtf_tests
   do_livepatch_tests
 }