|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] Add and use XendDomainInfo.getBackendFlags to	decouple i
 
# HG changeset patch
# User emellor@ewan
# Node ID 8f9dfc5fb51c6110c3b59d53ee9f40dec90a58ba
# Parent  578a73fdeb2f3b76f83ad167691e07385e0f623e
Add and use XendDomainInfo.getBackendFlags to decouple image.py from the
internals of XendDomainInfo, in preparation for changing the latter.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 578a73fdeb2f -r 8f9dfc5fb51c tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 21:41:12 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sun Sep 18 21:42:02 2005
@@ -352,6 +352,10 @@
     def setStoreRef(self, ref):
         self.store_mfn = ref
         self.storeDom("store/ring-ref", ref)
+
+
+    def getBackendFlags(self):
+        return self.backend_flags
 
 
     def closeStoreChannel(self):
diff -r 578a73fdeb2f -r 8f9dfc5fb51c tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sun Sep 18 21:41:12 2005
+++ b/tools/python/xen/xend/image.py    Sun Sep 18 21:42:02 2005
@@ -188,7 +188,7 @@
             return
 
         # Set params and call buildDomain().
-        self.flags = self.vm.backend_flags
+        self.flags = self.vm.getBackendFlags()
 
         if not os.path.isfile(self.kernel):
             raise VmError('Kernel image does not exist: %s' % self.kernel)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] Add and use XendDomainInfo.getBackendFlags to	decouple image.py from the,
Xen patchbot -unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |