WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Show usage message of xm migrate

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Show usage message of xm migrate
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 21 Aug 2006 18:51:37 +0900
Delivery-date: Mon, 21 Aug 2006 02:52:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: migrate.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>