From: Dan Smith Subject: [PATCH][XM-TEST] Make 15_create put mem=XXM on the kernel cmd line Date: Thu, 17 Nov 2005 15:19:24 -0800 Message-ID: <87u0ea50cj.fsf@theine.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers List-Id: xen-devel@lists.xenproject.org --=-=-= 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=15_create.patch # HG changeset patch # User dan@guaranine.beaverton.ibm.com # 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@us.ibm.com --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-=-=--