From: Masaki Kanno Subject: [PATCH] Fix error message about xm migrate command Date: Thu, 16 Nov 2006 13:35:48 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-akoyFkxURdZoHL2rPlouY" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-akoyFkxURdZoHL2rPlouY Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body 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 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 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 Best regards, Kan --Boundary-akoyFkxURdZoHL2rPlouY Content-Type: application/octet-stream; name="migrate.patch" Content-Disposition: attachment; filename="migrate.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciA2ZTIyYmE3MjE3MjAgdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW4u cHkKLS0tIGEvdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW4ucHkJV2VkIE5vdiAx NSAwOTo0NDoxMiAyMDA2ICswMDAwCisrKyBiL3Rvb2xzL3B5dGhvbi94ZW4veGVuZC9YZW5k RG9tYWluLnB5CVRodSBOb3YgMTYgMTI6MDI6MzQgMjAwNiArMDkwMApAQCAtMTA0OSw3ICsx MDQ5LDcgQEAgY2xhc3MgWGVuZERvbWFpbjoKICAgICAgICAgICAgIHJhaXNlIFhlbmRJbnZh bGlkRG9tYWluKHN0cihkb21pZCkpCiAKICAgICAgICAgaWYgZG9taW5mby5nZXREb21pZCgp ID09IERPTTBfSUQ6Ci0gICAgICAgICAgICByYWlzZSBYZW5kRXJyb3IoIkNhbm5vdCBtaWdy YXRlIHByaXZpbGVnZWQgZG9tYWluICVpIiAlIGRvbWlkKQorICAgICAgICAgICAgcmFpc2Ug WGVuZEVycm9yKCJDYW5ub3QgbWlncmF0ZSBwcml2aWxlZ2VkIGRvbWFpbiAlcyIgJSBkb21p ZCkKIAogICAgICAgICAiIiIgVGhlIGZvbGxvd2luZyBjYWxsIG1heSByYWlzZSBhIFhlbmRF cnJvciBleGNlcHRpb24gIiIiCiAgICAgICAgIGRvbWluZm8udGVzdE1pZ3JhdGVEZXZpY2Vz KFRydWUsIGRzdCkK --Boundary-akoyFkxURdZoHL2rPlouY Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-akoyFkxURdZoHL2rPlouY--