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] Fix error message about xm migrate command

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix error message about xm migrate command
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 16 Nov 2006 13:35:48 +0900
Delivery-date: Wed, 15 Nov 2006 20:36:25 -0800
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,

This patch fixes an error message about xm migrate command.

Without this patch you see:
 # xm migrate Domain-0 192.168.0.100
 Error: int argument required
 Usage: xm migrate <Domain> <Host>
 
 Migrate a domain to another machine.
 
 Options:
 
 -h, --help           Print this help.
 -l, --live           Use live migration.
 -p=portnum, --port=portnum
                      Use specified port for migration.
 -r=MBIT, --resource=MBIT
                      Set level of resource usage for migration.

With this patch applied:
 # xm migrate Domain-0 192.168.0.100
 Error: Cannot migrate privileged domain Domain-0
 Usage: xm migrate <Domain> <Host>
 
 Migrate a domain to another machine.
 
 Options:
 
 -h, --help           Print this help.
 -l, --live           Use live migration.
 -p=portnum, --port=portnum
                      Use specified port for migration.
 -r=MBIT, --resource=MBIT
                      Set level of resource usage for migration.


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>