]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
dom0pvh: assign 1GB of memory to PVH dom0
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 22 Jul 2020 15:04:16 +0000 (16:04 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 22 Jul 2020 15:10:40 +0000 (16:10 +0100)
Current tests use 512MB of memory for dom0, but that's too low for a
PVH dom0 on some hosts and will cause errors because memory is
ballooned out in order to obtain physical memory ranges to map foreign
pages.

Using ballooned out pages for foreign mappings also doesn't seem to
work properly with the current Linux kernel version, so increase the
memory assigned to dom0 to 1GB for PVH dom0 tests. We should see about
reverting this when using ballooned pages is fixed.

The runvar diff is:

+test-amd64-amd64-dom0pvh-xl-amd   dom0_mem 1024
+test-amd64-amd64-dom0pvh-xl-intel dom0_mem 1024

I've done a repro of the failed test on elbling0 with dom0_mem set to
1GB and it seems to prevent the issue, the flight is 152111.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
make-flight

index 2ea9ad29d7031b3219389c08d76ac003b7502ac1..d5a3d99a92514703ba6868effd112ff4cb6a2946 100755 (executable)
@@ -903,7 +903,7 @@ test_matrix_do_one () {
       job_create_test test-$xenarch$kern-$dom0arch-dom0pvh-xl-$cpuvendor \
                 test-debian xl $xenarch $dom0arch $debian_runvars \
                 all_hostflags=$most_hostflags,hvm-$cpuvendor,iommu \
-                xen_boot_append='dom0=pvh,verbose'
+                xen_boot_append='dom0=pvh,verbose' dom0_mem=1024
 
     done