[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxx>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.