[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Copy the definition of DOM0_UUID into XenDomain so that we don't need to import
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Date 1170330170 0 # Node ID 2e80cd715047352fd8c524abb8dcb8a53646714b # Parent b38ae44fa5584544365476e87f1bf9d70f9fbb15 Copy the definition of DOM0_UUID into XenDomain so that we don't need to import large swathes of the server to run the Xen-API tests. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/xm-test/lib/XmTestLib/XenDomain.py | 3 +++ tools/xm-test/tests/vtpm/09_vtpm-xapi.py | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff -r b38ae44fa558 -r 2e80cd715047 tools/xm-test/lib/XmTestLib/XenDomain.py --- a/tools/xm-test/lib/XmTestLib/XenDomain.py Thu Feb 01 10:21:42 2007 +0000 +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py Thu Feb 01 11:42:50 2007 +0000 @@ -31,6 +31,9 @@ from XenDevice import * from XenDevice import * from DomainTracking import * from acm import * + + +DOM0_UUID = "00000000-0000-0000-0000-000000000000" def getDefaultKernel(): diff -r b38ae44fa558 -r 2e80cd715047 tools/xm-test/tests/vtpm/09_vtpm-xapi.py --- a/tools/xm-test/tests/vtpm/09_vtpm-xapi.py Thu Feb 01 10:21:42 2007 +0000 +++ b/tools/xm-test/tests/vtpm/09_vtpm-xapi.py Thu Feb 01 11:42:50 2007 +0000 @@ -13,7 +13,6 @@ from XmTestLib import xapi from XmTestLib import xapi from XmTestLib.XenAPIDomain import XmTestAPIDomain from XmTestLib import * -from xen.xend import XendDomain from vtpm_utils import * import commands import os @@ -28,7 +27,7 @@ vm_uuid = domain.get_uuid() vm_uuid = domain.get_uuid() vtpmcfg = {} -vtpmcfg['backend'] = XendDomain.DOM0_UUID +vtpmcfg['backend'] = DOM0_UUID vtpmcfg['VM'] = vm_uuid session = xapi.connect() _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |