ia64/xen-unstable

changeset 16380:01d5511e47ba

xend: readDomTxn() and friends use dompath, not vmpath.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir@xensource.com>
date Thu Nov 15 22:14:13 2007 +0000 (2007-11-15)
parents ba69fe2dce91
children d1ac500f77c1
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Nov 13 20:13:50 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Nov 15 22:14:13 2007 +0000
     1.3 @@ -920,23 +920,23 @@ class XendDomainInfo:
     1.4  
     1.5  
     1.6      def readDomTxn(self, transaction, *args):
     1.7 -        paths = map(lambda x: self.vmpath + "/" + x, args)
     1.8 +        paths = map(lambda x: self.dompath + "/" + x, args)
     1.9          return transaction.read(*paths)
    1.10  
    1.11      def gatherDomTxn(self, transaction, *args):
    1.12 -        paths = map(lambda x: self.vmpath + "/" + x, args)
    1.13 +        paths = map(lambda x: self.dompath + "/" + x, args)
    1.14          return transaction.gather(*paths)
    1.15  
    1.16      def _writeDomTxn(self, transaction, *args):
    1.17 -        paths = map(lambda x: self.vmpath + "/" + x, args)
    1.18 +        paths = map(lambda x: self.dompath + "/" + x, args)
    1.19          return transaction.write(*paths)
    1.20  
    1.21      def _removeDomTxn(self, transaction, *args):
    1.22 -        paths = map(lambda x: self.vmpath + "/" + x, args)
    1.23 +        paths = map(lambda x: self.dompath + "/" + x, args)
    1.24          return transaction.remove(*paths)
    1.25  
    1.26      def storeDomTxn(self, transaction, *args):
    1.27 -        paths = map(lambda x: self.vmpath + "/" + x, args)
    1.28 +        paths = map(lambda x: self.dompath + "/" + x, args)
    1.29          return transaction.store(*paths)
    1.30  
    1.31