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/
Home Products Support Community News


[Xen-devel] [PATCH] Fixing bug/typo in main.py

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fixing bug/typo in main.py
From: "Yoshinori Katase" <y_katase@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Jan 2006 16:21:21 +0900
Delivery-date: Wed, 11 Jan 2006 07:26:56 +0000
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/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
Thread-index: AcYWf58ISbYW6mJqTAKUwSXv5mn1Lw==
This patch fixes a typo of main.py.
1.xm reboot help is shown only 3 arguments.
2.unit name of Mem in xm list header is *MiB*

Signed-off-by: Yoshinori Katase <y_katase@xxxxxxxxxxxxxxxx>
Best Regards,
Yoshinori Katase

diff -r ed7888c838ad tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Tue Jan 10 17:53:44 2006
+++ b/tools/python/xen/xm/main.py       Wed Jan 11 16:05:28 2006
@@ -58,7 +58,7 @@
 mem_set_help = "mem-set <DomId> <Mem>            Adjust the current memory
usage for a domain"
 migrate_help = "migrate <DomId> <Host>           Migrate a domain to
another machine"
 pause_help =   "pause <DomId>                    Pause execution of a
-reboot_help =  "reboot <DomId> [-w][-a]          Reboot a domain"
+reboot_help =  "reboot <DomId> [-w][-a][-R|-H]   Reboot a domain"
 restore_help = "restore <File>                   Create a domain from a
saved state file"
 save_help =    "save <DomId> <File>              Save domain state (and
config) to file"
 shutdown_help ="shutdown <DomId> [-w][-a][-R|-H] Shutdown a domain"
@@ -377,7 +377,7 @@

 def xm_brief_list(doms):
-    print 'Name                              ID Mem(MiB) VCPUs State
+    print 'Name                              ID  Mem(MB) VCPUs State
     for dom in doms:
         d = parse_doms_info(dom)
         if (d['ssidref'] != 0):

Attachment: main_typo.patch
Description: Binary data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>