Fix xm shutdown/reboot 000...
PATCH 1/1 Fix xm shutdown/reboot 000...
Hi,
This is a simple way to fix xm shutdown and xm reboot, so that it do not shutdown dom0 when the parameter has more than one zero.
Signed-off-by Murillo F. Bernardes <[email protected]>
Signature · 2 lines
Murillo Fernandes Bernardes IBM Linux Technology Center
tools/python/xen/xm/shutdown.py +1 -1
@@ -93,7 +93,7 @@ def main_dom(opts, args): if len(args) < 1: opts.err('Missing domain') - dom = args[0] + dom = args[0].lstrip("0") or "0" mode = shutdown_mode(opts) shutdown(opts, [ dom ], mode, opts.vals.wait)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel