WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEND] Add missing parameter and import f

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Add missing parameter and import from XendAPI and XendCheckpoint.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 15:30:21 +0000
Delivery-date: Fri, 10 Nov 2006 07:30:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID f5b98471d6ffdf3714acdf5a878e4cf31149c369
# Parent  7df5d39a0d9a085bdb050ac721fe3b4ed3b8ebba
[XEND] Add missing parameter and import from XendAPI and XendCheckpoint.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py        |    4 ++--
 tools/python/xen/xend/XendCheckpoint.py |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff -r 7df5d39a0d9a -r f5b98471d6ff tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Nov 10 12:49:54 2006 +0000
+++ b/tools/python/xen/xend/XendAPI.py  Fri Nov 10 13:09:01 2006 +0000
@@ -451,8 +451,8 @@ class XendAPI:
         return xen_api_success_void()
     def host_get_name_description(self, session, host_ref):
         return xen_api_success(XendNode.instance().description)
-    def host_set_name_description(self, session, host_ref):
-        XendNode.instance().set_description(new_description)
+    def host_set_name_description(self, session, host_ref, new_desc):
+        XendNode.instance().set_description(new_desc)
         return xen_api_success_void()
     def host_get_software_version(self, session, host_ref):
         return xen_api_success(XendNode.instance().xen_version())
diff -r 7df5d39a0d9a -r f5b98471d6ff tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py   Fri Nov 10 12:49:54 2006 +0000
+++ b/tools/python/xen/xend/XendCheckpoint.py   Fri Nov 10 13:09:01 2006 +0000
@@ -19,6 +19,7 @@ from xen.xend.XendError import XendError
 from xen.xend.XendError import XendError
 from xen.xend.XendLogging import log
 from xen.xend.XendConstants import *
+from xen.xend.XendConfig import XendConfig
 
 SIGNATURE = "LinuxGuestRecord"
 XC_SAVE = "xc_save"

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND] Add missing parameter and import from XendAPI and XendCheckpoint., Xen patchbot-unstable <=