All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix XendVnet xenstore export
@ 2006-02-10 14:14 Mike Wray
  2006-02-10 16:15 ` Ewan Mellor
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Wray @ 2006-02-10 14:14 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

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

[-- Attachment #2: XendVnet-60ebb017ce49.patch --]
[-- Type: text/plain, Size: 697 bytes --]

# HG changeset patch
# User mjw@wray-m-3.hpl.hp.com
# Node ID 60ebb017ce496f7ba9775be8650a1757c6f9cbab
# Parent  a6ef0eb9dfd77a84616896e7149a4c9aad5cc84c
Fix exporting vnet config to xenstore.

Signed-off-by: Mike Wray <mike.wray@hp.com>

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)
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-10 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-10 14:14 [PATCH] Fix XendVnet xenstore export Mike Wray
2006-02-10 16:15 ` Ewan Mellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.