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

[Xen-changelog] [xen-3.4-testing] hvmloader: Regression tests need 16MB to run. Check for this.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250694032 -3600
# Node ID 8bf8c7ca15d957bbcb928b2cb991f9a807b5d76d
# Parent  44d852862374dff2e734070ac60399f6875f6cd5
hvmloader: Regression tests need 16MB to run. Check for this.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   20033:b9cdcf502aa3
xen-unstable date:        Thu Aug 06 11:14:48 2009 +0100
---
 tools/firmware/hvmloader/tests.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r 44d852862374 -r 8bf8c7ca15d9 tools/firmware/hvmloader/tests.c
--- a/tools/firmware/hvmloader/tests.c  Wed Aug 19 15:58:43 2009 +0100
+++ b/tools/firmware/hvmloader/tests.c  Wed Aug 19 16:00:32 2009 +0100
@@ -142,6 +142,12 @@ void perform_tests(void)
 
     printf("Testing HVM environment:\n");
 
+    if ( hvm_info->low_mem_pgend < 0x1000 )
+    {
+        printf("Skipping tests due to insufficient memory (<16MB)\n");
+        return;
+    }
+
     passed = 0;
     for ( i = 0; tests[i].test; i++ )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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