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] Allow domains to be created as managed dom

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [Xm-TEST] Allow domains to be created as managed domains
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Fri, 29 Dec 2006 11:42:56 -0500
Cc: ewan@xxxxxxxxxxxxx
Delivery-date: Fri, 29 Dec 2006 08:42:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
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 <stefanb@xxxxxxxxxx>

Attachment: xm-test-managed-domain-test.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [Xm-TEST] Allow domains to be created as managed domains, Stefan Berger <=