From: Alastair Tse Date: Fri, 10 Nov 2006 13:09:01 +0000 (+0000) Subject: [XEND] Add missing parameter and import from XendAPI and XendCheckpoint. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15567^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=069672061cb9ff370f868bd5221b0f74043381c0;p=xen.git [XEND] Add missing parameter and import from XendAPI and XendCheckpoint. Signed-off-by: Alastair Tse --- diff --git a/tools/python/xen/xend/XendAPI.py b/tools/python/xen/xend/XendAPI.py index fc5dd95b37..641c7e5180 100644 --- a/tools/python/xen/xend/XendAPI.py +++ b/tools/python/xen/xend/XendAPI.py @@ -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 --git a/tools/python/xen/xend/XendCheckpoint.py b/tools/python/xen/xend/XendCheckpoint.py index 0c0809f820..e8894933fb 100644 --- a/tools/python/xen/xend/XendCheckpoint.py +++ b/tools/python/xen/xend/XendCheckpoint.py @@ -19,6 +19,7 @@ from xen.xend import balloon, sxp 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"