Stefan Berger
2006-Dec-29 16:42 UTC
[Xen-devel] [PATCH] [Xm-TEST] Allow domains to be created as managed domains
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@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2007-Jan-09 17:34 UTC
[Xen-devel] Re: [PATCH] [Xm-TEST] Allow domains to be created as managed domains
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 <stefanb@us.ibm.com>Applied, thanks. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel