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

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



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

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/firmware/hvmloader/tests.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r c8cbe3033352 -r b9cdcf502aa3 tools/firmware/hvmloader/tests.c
--- a/tools/firmware/hvmloader/tests.c  Thu Aug 06 10:02:20 2009 +0100
+++ b/tools/firmware/hvmloader/tests.c  Thu Aug 06 11:14:48 2009 +0100
@@ -205,6 +205,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 = skipped = 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®.