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-changelog

[Xen-changelog] [xen-unstable] xl: Add help for 'xl info' command

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: Add help for 'xl info' command
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 May 2010 13:20:28 -0700
Delivery-date: Tue, 04 May 2010 13:23:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272969859 -3600
# Node ID 9ea03a5209ff3c9784f1ca45ca0f9eeaab159347
# Parent  843a42e726cc774780b80a1206342e24211a2252
xl: Add help for 'xl info' command

Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r 843a42e726cc -r 9ea03a5209ff tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue May 04 11:38:24 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c  Tue May 04 11:44:19 2010 +0100
@@ -1173,6 +1173,9 @@ void help(char *command)
     } 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\n\n");
+        printf("Get information about Xen host.\n\n");
     } else if (!strcmp(command, "sched-credit")) {
         printf("Usage: xl sched-credit [-d <Domain> 
[-w[=WEIGHT]|-c[=CAP]]]\n\n");
         printf("Get/set credit scheduler parameters.\n");
@@ -2731,7 +2734,7 @@ int main_info(int argc, char **argv)
     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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: Add help for 'xl info' command, Xen patchbot-unstable <=