Skip to contentSkip to conversation

Fix XendVnet xenstore export

PATCH Applied Mike Wray 2 participants 2 messages Feb 10, 2006

lore
Share & tools
lore

Mike Wray

author
#0 lore raw

PATCH 1/1 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 [email protected]
# Node ID 60ebb017ce496f7ba9775be8650a1757c6f9cbab # Parent a6ef0eb9dfd77a84616896e7149a4c9aad5cc84c Fix exporting vnet config to xenstore.

tools/python/xen/xend/XendVnet.py +1 -1
diff -r a6ef0eb9dfd7 -r 60ebb017ce49 tools/python/xen/xend/XendVnet.py
@@ -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
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 3 lines · Mike Wray

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.

Applied, thank you.

Ewan.