All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wray <mike.wray@hp.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Fix XendVnet xenstore export
Date: Fri, 10 Feb 2006 14:14:47 +0000	[thread overview]
Message-ID: <43EC9FD7.30900@hp.com> (raw)

[-- 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

             reply	other threads:[~2006-02-10 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 14:14 Mike Wray [this message]
2006-02-10 16:15 ` [PATCH] Fix XendVnet xenstore export Ewan Mellor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43EC9FD7.30900@hp.com \
    --to=mike.wray@hp.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.