Hi, I think that error messages of xm migrate command are unkind. # xm migrate Error: Invalid arguments: [] # xm migrate vm1 192.168.0.10 XXX Error: Invalid arguments: [''vm1'', ''192.168.0.10'', ''XXX''] If invalid arguments are specified, this patch shows an usage message. # xm migrate Usage: migrate [options] DOM HOST Migrate domain DOM to host HOST. Xend must be running on the local host and on HOST. -h, --help Print this help. -l, --live Use live migration. -p, --port portnum Use specified port for migration. Default None -r, --resource MBIT Set level of resource usage for migration. Default None Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Best regards, Kan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Aug-29 21:40 UTC
Re: [Xen-devel] [PATCH] Show usage message of xm migrate
On Mon, Aug 21, 2006 at 06:51:37PM +0900, Masaki Kanno wrote: Content-Description: Mail message body> Hi, > > I think that error messages of xm migrate command are unkind. > > # xm migrate > Error: Invalid arguments: [] > # xm migrate vm1 192.168.0.10 XXX > Error: Invalid arguments: [''vm1'', ''192.168.0.10'', ''XXX''] > > If invalid arguments are specified, this patch shows an usage > message.Applied, thanks. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel