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-changelog

[Xen-changelog] g/c introduceDomain and releaseDomain bindings in xsnode

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] g/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Sep 2005 17:50:17 +0000
Delivery-date: Tue, 13 Sep 2005 17:49:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID c1450b657edee38900be111a8aa71f66c04a49ea
# Parent  26cf3cfd3bedcc958baaa3366cb804efd2b3e457
g/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 26cf3cfd3bed -r c1450b657ede tools/python/xen/xend/xenstore/xsnode.py
--- a/tools/python/xen/xend/xenstore/xsnode.py  Tue Sep 13 17:31:13 2005
+++ b/tools/python/xen/xend/xenstore/xsnode.py  Tue Sep 13 17:32:59 2005
@@ -365,18 +365,6 @@
         finally:
             self.watchThread = None
 
-    def introduceDomain(self, dom, page, evtchn, path):
-        try:
-            self.getxs().introduce_domain(dom, page, evtchn.port1, path)
-        except RuntimeError, ex:
-            if ex.args[0] == errno.EISCONN:
-                return None
-            else:
-                raise
-
-    def releaseDomain(self, dom):
-        self.getxs().release_domain(dom)
-
 def getXenStore():
     global xenstore
     try:
@@ -461,12 +449,6 @@
     def ls(self):
         return self.store.ls(self.path)
 
-    def introduceDomain(self, dom, page, evtchn, path):
-        self.store.introduceDomain(dom, page, evtchn, path)
-        
-    def releaseDomain(self, dom):
-        self.store.releaseDomain(dom)
-
     def watch(self, fn, path=""):
         """Watch a path for changes. The path is relative
         to the node and defaults to the node itself.
diff -r 26cf3cfd3bed -r c1450b657ede tools/python/xen/xend/xenstore/xsobj.py
--- a/tools/python/xen/xend/xenstore/xsobj.py   Tue Sep 13 17:31:13 2005
+++ b/tools/python/xen/xend/xenstore/xsobj.py   Tue Sep 13 17:32:59 2005
@@ -319,30 +319,6 @@
     def getPath(self):
         return self.__db__ and self.__db__.relPath()
 
-    def introduceDomain(self, dom, page, evtchn, path=None):
-        db = self.__db__
-        if path is None:
-            path = db.relPath()
-        log.info("DBMap>introduceDomain> %d %d %s %s" %(dom, page, evtchn, 
path))
-        try:
-            db.introduceDomain(dom, page, evtchn, path)
-        except Exception, ex:
-            import traceback
-            traceback.print_exc()
-            log.info("DBMap>introduceDomain> %s" %ex)
-            pass # todo: don't ignore
-        
-    def releaseDomain(self, dom):
-        db = self.__db__
-        log.info("DBMap>releaseDomain> %d" %dom)
-        try:
-            db.releaseDomain(dom)
-        except Exception, ex:
-            import traceback
-            traceback.print_exc()
-            log.info("DBMap>releaseDomain> %s" %ex)
-            pass # todo: don't ignore
-
     def watch(self, fn, path=""):
         return self.__db__.watch(fn, path=path)
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] g/c introduceDomain and releaseDomain bindings in xsnode and xsobj., Xen patchbot -unstable <=