|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Bring out the common console-handling code from main.py
# HG changeset patch
# User emellor@ewan
# Node ID 713328270fb36bb1eed7d9520626fbcb123a50f3
# Parent c5553e06a8bc1b9cffbbcae080cd90d0d6b8334c
Bring out the common console-handling code from main.py and create.py.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r c5553e06a8bc -r 713328270fb3 tools/python/xen/xm/console.py
--- /dev/null Tue Oct 11 13:59:52 2005
+++ b/tools/python/xen/xm/console.py Tue Oct 11 14:01:43 2005
@@ -0,0 +1,26 @@
+#============================================================================
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of version 2.1 of the GNU Lesser General Public
+# License as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#============================================================================
+# Copyright (C) 2005 XenSource Ltd
+#============================================================================
+
+
+XENCONSOLE = "xenconsole"
+
+
+import xen.util.auxbin
+
+
+def execConsole(domid):
+ xen.util.auxbin.execute(XENCONSOLE, [str(domid)])
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Bring out the common console-handling code from main.py and create.py.,
Xen patchbot -unstable <=
|
|
|
|
|