From 069672061cb9ff370f868bd5221b0f74043381c0 Mon Sep 17 00:00:00 2001 From: Alastair Tse Date: Fri, 10 Nov 2006 13:09:01 +0000 Subject: [PATCH] [XEND] Add missing parameter and import from XendAPI and XendCheckpoint. Signed-off-by: Alastair Tse --- tools/python/xen/xend/XendAPI.py | 4 ++-- tools/python/xen/xend/XendCheckpoint.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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" -- 2.30.2