From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Wray Subject: [PATCH] Fix XendVnet xenstore export Date: Fri, 10 Feb 2006 14:14:47 +0000 Message-ID: <43EC9FD7.30900@hp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020504060500020907070605" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020504060500020907070605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------020504060500020907070605 Content-Type: text/plain; name="XendVnet-60ebb017ce49.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="XendVnet-60ebb017ce49.patch" # 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 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) --------------020504060500020907070605 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020504060500020907070605--