# HG changeset patch
# User Jonathan Knowles <[email protected]>
# Date 1265132506 0
# Node ID 5c2ab1c86dc5b7a44491f440b26aa42d11703aa8
# Parent  37170963c47d622c236d9023f83d69be6bb3f126
Improves the help text for the memory-related CLI functions "xe 
vm-memory-{dynamic,static}-range-set".

Signed-off-by: Jonathan Knowles <[email protected]>

diff -r 37170963c47d -r 5c2ab1c86dc5 ocaml/xapi/cli_frontend.ml
--- a/ocaml/xapi/cli_frontend.ml        Thu Jan 28 16:36:45 2010 +0000
+++ b/ocaml/xapi/cli_frontend.ml        Tue Feb 02 17:41:46 2010 +0000
@@ -789,7 +789,10 @@
        {
                reqd=["min"; "max"];
                optn=[];
-               help="Configure the range of physical memory the VM is allowed 
to consume.";
+               help="Configure the dynamic memory range of a VM. The dynamic 
memory \
+               range defines soft lower and upper limits for a VM's memory. 
It's \
+               possible to change these fields when a VM is running or halted. 
The \
+               dynamic range must fit within the static range.";
                implementation= No_fd 
Cli_operations.vm_memory_dynamic_range_set;
                flags=[Vm_selectors];
        };
@@ -798,7 +801,10 @@
        {
                reqd=["min"; "max"];
                optn=[];
-               help="Configure the range of virtual memory the VM is allowed 
to consume.";
+               help="Configure the static memory range of a VM. The static 
memory \
+               range defines hard lower and upper limits for a VM's memory. 
It's \
+               possible to change these fields only when a VM is halted. The 
static \
+               range must encompass the dynamic range.";
                implementation= No_fd Cli_operations.vm_memory_static_range_set;
                flags=[Vm_selectors];
        };
@@ -807,7 +813,7 @@
        {
                reqd=["static-min"; "static-max"; "dynamic-min"; "dynamic-max"];
                optn=[];
-               help="Configure the memory limits of the VM.";
+               help="Configure the memory limits of a VM.";
                implementation=No_fd Cli_operations.vm_memory_limits_set;
                flags=[Vm_selectors];
        };
1 file changed, 9 insertions(+), 3 deletions(-)
ocaml/xapi/cli_frontend.ml |   12 +++++++++---


# HG changeset patch
# User Jonathan Knowles <[email protected]>
# Date 1265132506 0
# Node ID 5c2ab1c86dc5b7a44491f440b26aa42d11703aa8
# Parent  37170963c47d622c236d9023f83d69be6bb3f126
Improves the help text for the memory-related CLI functions "xe vm-memory-{dynamic,static}-range-set".

Signed-off-by: Jonathan Knowles <[email protected]>

diff -r 37170963c47d -r 5c2ab1c86dc5 ocaml/xapi/cli_frontend.ml
--- a/ocaml/xapi/cli_frontend.ml	Thu Jan 28 16:36:45 2010 +0000
+++ b/ocaml/xapi/cli_frontend.ml	Tue Feb 02 17:41:46 2010 +0000
@@ -789,7 +789,10 @@
 	{
 		reqd=["min"; "max"];
 		optn=[];
-		help="Configure the range of physical memory the VM is allowed to consume.";
+		help="Configure the dynamic memory range of a VM. The dynamic memory \
+		range defines soft lower and upper limits for a VM's memory. It's \
+		possible to change these fields when a VM is running or halted. The \
+		dynamic range must fit within the static range.";
 		implementation= No_fd Cli_operations.vm_memory_dynamic_range_set;
 		flags=[Vm_selectors];
 	};
@@ -798,7 +801,10 @@
 	{
 		reqd=["min"; "max"];
 		optn=[];
-		help="Configure the range of virtual memory the VM is allowed to consume.";
+		help="Configure the static memory range of a VM. The static memory \
+		range defines hard lower and upper limits for a VM's memory. It's \
+		possible to change these fields only when a VM is halted. The static \
+		range must encompass the dynamic range.";
 		implementation= No_fd Cli_operations.vm_memory_static_range_set;
 		flags=[Vm_selectors];
 	};
@@ -807,7 +813,7 @@
 	{
 		reqd=["static-min"; "static-max"; "dynamic-min"; "dynamic-max"];
 		optn=[];
-		help="Configure the memory limits of the VM.";
+		help="Configure the memory limits of a VM.";
 		implementation=No_fd Cli_operations.vm_memory_limits_set;
 		flags=[Vm_selectors];
 	};
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to