/usr/lib/xen-4.4/bin/xm is in xen-utils-4.4 4.4.0-0ubuntu5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #! /usr/bin/python
# -*- mode: python; -*-
import sys, os.path
sys.path.insert(1, sys.path[0] + '/../lib/python')
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()
main.main(sys.argv)
|