diff options
Diffstat (limited to 'tools/python')
-rwxr-xr-x | tools/python/xen/xm/xm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/python/xen/xm/xm b/tools/python/xen/xm/xm index f4fd200346..458f219e10 100755 --- a/tools/python/xen/xm/xm +++ b/tools/python/xen/xm/xm @@ -1,7 +1,20 @@ #!/usr/bin/env python # -*- mode: python; -*- -import sys +import sys, os.path from xen.xm import main +print("WARNING: xend/xm is deprecated.") + +if not os.path.exists("/tmp/xm-deprecation-long-warning"): + print(""" +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("/tmp/xm-deprecation-long-warning", "w").close() + main.main(sys.argv) |