Skip to contentSkip to conversation

Fix bug 686 by improving the xm help --long vcpu-set string

PATCH Applied Harry Butterworth 2 participants 2 messages Aug 2, 2006

lore
Share & tools
lore
#0 lore raw

This is a trivial patch which I tested by building and running

xm help --long

The formatting of the new string looks OK in an 80 column terminal.

Assuming the new string I wrote is actually correct this will allow us to close bug 686.

Signed-off-by Harry Butterworth <[email protected]>

tools/python/xen/xm/main.py +3 -1
diff -r 9632ececc8f4 -r 53cb12bc8b9e tools/python/xen/xm/main.py
@@ -78,7 +78,9 @@
 sysrq_help =   "sysrq   <DomId> <letter>         Send a sysrq to a domain"
 domid_help =   "domid <DomName>                  Converts a domain name to a domain id"
 domname_help = "domname <DomId>                  Convert a domain id to a domain name"
-vcpu_set_help = """vcpu-set <DomId> <VCPUs>         Set the number of VCPUs for a domain"""
+vcpu_set_help = """vcpu-set <DomId> <VCPUs>         Set the number of active VCPUs for a domain
+                                    within the range allowed by the domain
+                                    configuration"""
 vcpu_list_help = "vcpu-list <DomId>                List the VCPUs for a domain (or all domains)"
 vcpu_pin_help = "vcpu-pin <DomId> <VCPU> <CPUs>   Set which cpus a VCPU can use" 
 dmesg_help =   "dmesg [-c|--clear]               Read or clear Xen's message buffer"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 10 lines · Harry Butterworth

This is a trivial patch which I tested by building and running

xm help --long

The formatting of the new string looks OK in an 80 column terminal.

Assuming the new string I wrote is actually correct this will allow us to close bug 686.

Signed-off-by Harry Butterworth <[email protected]>

Applied, thanks Harry.

Ewan.