From: Ewan Mellor Subject: Re: [PATCH] [Xm-TEST] Allow domains to be created as managed domains Date: Tue, 9 Jan 2007 17:34:05 +0000 Message-ID: <20070109173405.GE9374@leeni.uk.xensource.com> References: <1167410576.12399.30.camel@lt2.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1167410576.12399.30.camel@lt2.watson.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Dec 29, 2006 at 11:42:56AM -0500, Stefan Berger wrote: > This simple patch allows domains created in the xm-test suite to be > created as managed domains using either a parameter to the > XenTestDomain() constructor or by setting the environment variable > XM_MANAGED_DOMAINS and running the tests with it. > > All managed domains created within a test are tracked and destroyed at > the end using an 'atexit' handler (which I want to also use for domains > built with the raw xen-api). > > This patch in combination with the configuration file for xm should give > some coverage for the Xen-API usage of xm. > > The following errors are shown now in the xm-test suite beyond those > that are 'expected' at the moment. They are all related to 'xm domid' > being called on a managed domain. > > FAIL: 01_restore_basic_pos.test > FAIL: 01_save_basic_pos.test > FAIL: 01_shutdown_basic_pos.test > > I would have a look at these later. > > Signed-off-by: Stefan Berger Applied, thanks. Ewan.