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] [xen-unstable] xend: readDomTxn() and friends use dompat

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: readDomTxn() and friends use dompath, not vmpath.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2007 12:00:07 -0800
Delivery-date: Thu, 22 Nov 2007 12:00:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1195164853 0
# Node ID 01d5511e47ba50f06f5a75c473ee23dfa882b65b
# Parent  ba69fe2dce91cd7ef633b4b21706344f6be1a6de
xend: readDomTxn() and friends use dompath, not vmpath.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r ba69fe2dce91 -r 01d5511e47ba tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Nov 13 20:13:50 2007 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Thu Nov 15 22:14:13 2007 +0000
@@ -920,23 +920,23 @@ class XendDomainInfo:
 
 
     def readDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.read(*paths)
 
     def gatherDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.gather(*paths)
 
     def _writeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.write(*paths)
 
     def _removeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.remove(*paths)
 
     def storeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.store(*paths)
 
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: readDomTxn() and friends use dompath, not vmpath., Xen patchbot-unstable <=