From: Ewan Mellor Subject: Re: [Xen-devel] [PATCH 10/10][TOOLS][XM-TEST] Fix Memory assumptions in the create tests Date: Tue, 24 Oct 2006 14:54:16 +0100 Message-ID: <20061024135416.GB24946@leeni.uk.xensource.com> References: <20061020032225.GQ27551@bakeyournoodle.com> <20061023105522.GC1924@leeni.uk.xensource.com> <20061023234536.GR27551@bakeyournoodle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20061023234536.GR27551@bakeyournoodle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ppc-devel-bounces@lists.xensource.com Errors-To: xen-ppc-devel-bounces@lists.xensource.com To: Xen-Devel , XenPPC-devel List-Id: xen-devel@lists.xenproject.org On Tue, Oct 24, 2006 at 09:45:36AM +1000, Tony Breeds wrote: > Okay leaving it set at 16MiB, is probably the right thing. If we get to > a state the an architecture or OS needs to vary it we can look at > something like tooLittleMem() then. OK, I've taken the most of the patch, but with the 16MiB low limit left in. What's this bit though (I haven't taken this yet)? diff -r 69035d8a5f2a -r 2854ceda351e tools/xm-test/tests/create/14_create_blockroot_pos.py --- a/tools/xm-test/tests/create/14_create_blockroot_pos.py Thu Oct 19 17:01:02 2006 +1000 +++ b/tools/xm-test/tests/create/14_create_blockroot_pos.py Thu Oct 19 17:02:40 2006 +1000 @@ -18,17 +18,12 @@ rdpath = getRdPath() # print "Using %s" % output if ENABLE_HVM_SUPPORT: - domain = XmTestDomain(name="14_create_blockroot") + config = None else: - config = {"memory" : "64", - "root" : "/dev/hda1", - "name" : "14_create_blockroot", - "kernel" : getDefaultKernel(), + config = {"root" : "/dev/hda1", "disk" : "file:%s/initrd.img,hda1,w" % rdpath } - domConfig = XenConfig() - domConfig.setOpts(config) - domain = XenDomain(name=domConfig.getOpt("name"), config=domConfig) +domain = XmTestDomain(name="14_create_blockroot", extraConfig=config) try: console = domain.start() Ewan.