Displaying 1 result from an estimated 1 matches for "xend_domain_sysrq".
2006 Jan 13
2
[PATCH] unifying error message of migrate and sysrq
...ment
- if len(args) < 1: opts.err(''Missing domain'')
- if len(args) < 2: opts.err(''Missing sysrq character'')
+ from xen.xm.main import arg_check
+ arg_check(args, "migrate", 2)
+
dom = args[0]
req = ord(args[1][0])
server.xend_domain_sysrq(dom, req)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel