|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] Fix XendVnet xenstore export
 
The code to export the vnet config to xenstore had arguments
missing from a call to sxp.to_string() and was trying to
export the function instead. The patch adds the necessary argument.
Mike
 # HG changeset patch
# User mjw@xxxxxxxxxxxxxxxxxxx
# Node ID 60ebb017ce496f7ba9775be8650a1757c6f9cbab
# Parent  a6ef0eb9dfd77a84616896e7149a4c9aad5cc84c
Fix exporting vnet config to xenstore.
Signed-off-by: Mike Wray <mike.wray@xxxxxx>
diff -r a6ef0eb9dfd7 -r 60ebb017ce49 tools/python/xen/xend/XendVnet.py
--- a/tools/python/xen/xend/XendVnet.py Thu Feb  9 14:26:22 2006
+++ b/tools/python/xen/xend/XendVnet.py Fri Feb 10 14:10:34 2006
@@ -63,7 +63,7 @@
         to_store = {
             'id' : self.id,
             'dbid' : self.dbid,
-            'config' : sxp.to_string
+            'config' : sxp.to_string(self.config)
             }
         xstransact.Write(self.dbpath, to_store)
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH] Fix XendVnet xenstore export,
Mike Wray <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |