35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
|
Index: xen-4.4.0-testing/tools/python/xen/xm/xm
|
||
|
===================================================================
|
||
|
--- xen-4.4.0-testing.orig/tools/python/xen/xm/xm
|
||
|
+++ xen-4.4.0-testing/tools/python/xen/xm/xm
|
||
|
@@ -4,17 +4,17 @@ import sys, os.path
|
||
|
|
||
|
from xen.xm import main
|
||
|
|
||
|
-print >>sys.stderr, ("WARNING: xend/xm is deprecated.")
|
||
|
-
|
||
|
-if not os.path.exists("/var/run/xm-deprecation-long-warning"):
|
||
|
- print >>sys.stderr, ("""
|
||
|
-xend is deprecated and scheduled for removal. Please migrate to another
|
||
|
-toolstack ASAP.
|
||
|
-
|
||
|
-See http://wiki.xen.org/wiki/Choice_of_Toolstacks for information on
|
||
|
-other alternatives, including xl which is designed to be a drop in
|
||
|
-replacement for xm (http://wiki.xen.org/wiki/XL).
|
||
|
-""")
|
||
|
- open("/var/run/xm-deprecation-long-warning", "w").close()
|
||
|
+#print >>sys.stderr, ("WARNING: xend/xm is deprecated.")
|
||
|
+#
|
||
|
+#if not os.path.exists("/var/run/xm-deprecation-long-warning"):
|
||
|
+# print >>sys.stderr, ("""
|
||
|
+#xend is deprecated and scheduled for removal. Please migrate to another
|
||
|
+#toolstack ASAP.
|
||
|
+#
|
||
|
+#See http://wiki.xen.org/wiki/Choice_of_Toolstacks for information on
|
||
|
+#other alternatives, including xl which is designed to be a drop in
|
||
|
+#replacement for xm (http://wiki.xen.org/wiki/XL).
|
||
|
+#""")
|
||
|
+# open("/var/run/xm-deprecation-long-warning", "w").close()
|
||
|
|
||
|
main.main(sys.argv)
|