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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH]xl:Add help for 'xl info' command

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH]xl:Add help for 'xl info' command
From: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
Date: 2010年4月27日 10:15:31 +0800
Delivery-date: 2010年4月26日 19:15:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100415 Thunderbird/3.0.4
Add help for 'xl info' command
Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
diff -r c87ec146229a tools/libxl/xl.c
--- a/tools/libxl/xl.c Fri Apr 23 15:04:26 2010 +0100
+++ b/tools/libxl/xl.c Tue Apr 27 18:12:28 2010 +0800
@@ -1107,6 +1107,7 @@
 printf(" vcpu-list list the VCPUs for all/some 
domains.\n\n");
 printf(" vcpu-pin Set which CPUs a VCPU can 
use.\n\n");
 printf(" vcpu-set Set the number of active VCPUs 
allowed for the domain.\n\n");
+ printf(" info Get information about Xen 
host.\n\n");
 } else if(!strcmp(command, "create")) {
 printf("Usage: xl create <ConfigFile> [options] [vars]\n\n");
 printf("Create a domain based on <ConfigFile>.\n\n");
@@ -1192,6 +1193,11 @@
 } else if (!strcmp(command, "vcpu-set")) {
 printf("Usage: xl vcpu-set <Domain> <vCPUs>\n\n");
 printf("Set the number of active VCPUs for allowed for the 
domain.\n\n");
+ } else if(!strcmp(command, "info")) {
+ printf("Usage: xl info [options]\n\n");
+ printf("Get information about Xen host.\n\n");
+ printf("Options:\n\n");
+ printf("-h Print this help.\n");
 }
 }
 
@@ -2741,7 +2747,7 @@
 while ((opt = getopt(argc, argv, "h")) != -1) {
 switch (opt) {
 case 'h':
- help("vcpu-list");
+ help("info");
 exit(0);
 default:
 fprintf(stderr, "option `%c' not supported.\n", opt);
-- 
Regards
Yang Hongyang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel][Pv-ops][PATCH 0/3] Resend: Netback multiple thread support , Xu, Dongxiao
Next by Date: Re: [Xen-devel] [PATCH]xl:Add help for 'xl info' command , Yang Hongyang
Previous by Thread: [Xen-devel] Unregister_netdevice error messages caused by shutdowning vm with protection of Remus , Minjia Zhang
Next by Thread: Re: [Xen-devel] [PATCH]xl:Add help for 'xl info' command , Yang Hongyang
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /