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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xsm: Implement missing functions in XSM d

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xsm: Implement missing functions in XSM dummy module
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Dec 2007 07:20:10 -0800
Delivery-date: Fri, 14 Dec 2007 07:20:20 -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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197627470 0
# Node ID a1ba468e45ebe14cb450cd99f54c334578c12a19
# Parent  1f8797a747434920fac43db7bf56ab32d773342d
xsm: Implement missing functions in XSM dummy module

I am implementing some missing interface functions in the XSM dummy
module. Also deactivating some debugging output.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
 tools/python/xen/util/xsm/dummy/dummy.py |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)

diff -r 1f8797a74743 -r a1ba468e45eb tools/python/xen/util/xsm/dummy/dummy.py
--- a/tools/python/xen/util/xsm/dummy/dummy.py  Fri Dec 14 10:16:52 2007 +0000
+++ b/tools/python/xen/util/xsm/dummy/dummy.py  Fri Dec 14 10:17:50 2007 +0000
@@ -33,7 +33,6 @@ def err(msg):
 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.")

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xsm: Implement missing functions in XSM dummy module, Xen patchbot-unstable <=