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

[Xen-changelog] [xen-unstable] xend: readDomTxn() and friends use dompath, not vmpath.



# 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


 


Rackspace

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