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-devel

[Xen-devel] [PATCH][XM-TEST] Make 15_create put mem=XXM on the kernel cm

To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][XM-TEST] Make 15_create put mem=XXM on the kernel cmd line
From: Dan Smith <danms@xxxxxxxxxx>
Date: Thu, 17 Nov 2005 15:19:24 -0800
Delivery-date: Thu, 17 Nov 2005 23:19:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
This patch adds "mem=XXM" to the kernel command line when trying to
create a domain with a very small amount of memory.  This makes it
work for me on x86_32, but still fails on x86_64.

Signed-off-by: Dan Smith <danms@xxxxxxxxxx>
# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 176469bcd529a6ced7134bcb9975f339f814329c
# Parent  1b466985687fe1d02e80aad813878dcba251eaa8
Make test 15_create_smallmem pass mem=16M on the kernel command line.

diff -r 1b466985687f -r 176469bcd529 
tools/xm-test/tests/create/15_create_smallmem_pos.py
--- a/tools/xm-test/tests/create/15_create_smallmem_pos.py      Thu Nov 17 
22:56:44 2005
+++ b/tools/xm-test/tests/create/15_create_smallmem_pos.py      Thu Nov 17 
23:18:35 2005
@@ -7,7 +7,8 @@
 
 MEM = 16
 
-domain = XmTestDomain(extraOpts={"memory":"%i" % MEM})
+domain = XmTestDomain(extraOpts={"memory":"%i" % MEM,
+                                 "extra" :"mem=%iM" % MEM})
 
 try:
     domain.start()
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>