| 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: | 2006年12月29日 11:42:56 -0500 |
| Cc: | ewan@xxxxxxxxxxxxx |
| Delivery-date: | 2006年12月29日 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-users] RE: [Xen-devel] Xen-3.0.3 migration problems , Adam Seering |
|---|---|
| Next by Date: | RE: [Xen-users] RE: [Xen-devel] Xen-3.0.3 migration problems , Bhatia, Nikhil |
| Previous by Thread: | [Xen-devel] which hp desktop model is supporting xen right out of the box , dakus |
| Next by Thread: | [Xen-devel][PATCH][RFC] Implement interrupt affinity for dom0 in IPF side , Xu, Anthony |
| Indexes: | [Date] [Thread] [Top] [All Lists] |