WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] hvmloader: Regression tests need 16MB to

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvmloader: Regression tests need 16MB to run. Check for this.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 06 Aug 2009 05:35:32 -0700
Delivery-date: Thu, 06 Aug 2009 05:37:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] hvmloader: Regression tests need 16MB to run. Check for this., Xen patchbot-unstable <=