From: Stefan Berger Subject: [PATCH] Implement missing functions in XSM dummy module Date: Wed, 12 Dec 2007 12:57:56 -0500 Message-ID: <1197482276.27346.6.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-NDn2OFU/bO6oaksVp5IR" 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 --=-NDn2OFU/bO6oaksVp5IR Content-Type: text/plain Content-Transfer-Encoding: 7bit I am implementing some missing interface functions in the XSM dummy module. Also deactivating some debugging output. Signed-off-by: Stefan Berger --=-NDn2OFU/bO6oaksVp5IR Content-Disposition: attachment; filename=xsm_dummy_missing_funcs.diff Content-Type: text/x-patch; name=xsm_dummy_missing_funcs.diff; charset=utf-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/python/xen/util/xsm/dummy/dummy.py =================================================================== --- root.orig/xen-unstable.hg/tools/python/xen/util/xsm/dummy/dummy.py +++ root/xen-unstable.hg/tools/python/xen/util/xsm/dummy/dummy.py @@ -33,7 +33,6 @@ xmlrpc_exports = [ def err(msg): """Raise XSM-dummy exception. """ - sys.stderr.write("XSM-dummyError: " + msg + "\n") raise XSMError(msg) def on(): @@ -123,3 +122,12 @@ def get_domain_label(domain): def set_domain_label(): err("Command not supported under xsm 'dummy' module.") + +def dump_policy(): + pass + +def dump_policy_file(): + pass + +def get_ssid(domain): + err("No ssid has been assigned to any domain under xsm dummy module.") --=-NDn2OFU/bO6oaksVp5IR 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 --=-NDn2OFU/bO6oaksVp5IR--