# HG changeset patch
# User Jonathan Knowles <[email protected]>
# Date 1269938823 -3600
# Node ID 870e8b02f25db0ea53e42e00696a19139c7f9036
# Parent  3ad339c873a87f54ed0c3d29d82a5859933369b7
[CA-39425] Unhides "vm-memory-target-set" from the CLI, and brings the help 
string in line with current semantics.

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

diff -r 3ad339c873a8 -r 870e8b02f25d ocaml/xapi/cli_frontend.ml
--- a/ocaml/xapi/cli_frontend.ml        Mon Mar 29 16:12:41 2010 +0100
+++ b/ocaml/xapi/cli_frontend.ml        Tue Mar 30 09:47:03 2010 +0100
@@ -876,10 +876,11 @@
        {
                reqd=["target"];
                optn=[];
-               help="Set the memory target for a running VM. The given value 
must be within the "^
-                    "range defined by the VM's memory_dynamic_min and 
memory_dynamic_max values.";
+               help="Set the memory target for a halted or running VM. The 
given \
+               value must be within the range defined by the VM's 
memory_static_min \
+               and memory_static_max values.";
                implementation= No_fd Cli_operations.vm_memory_target_set;
-               flags=[Deprecated ["vm-memory-dynamic-range-set"]; 
Vm_selectors; Hidden];
+               flags=[Vm_selectors];
        };
 
        "vm-memory-target-wait",
1 file changed, 4 insertions(+), 3 deletions(-)
ocaml/xapi/cli_frontend.ml |    7 ++++---


# HG changeset patch
# User Jonathan Knowles <[email protected]>
# Date 1269938823 -3600
# Node ID 870e8b02f25db0ea53e42e00696a19139c7f9036
# Parent  3ad339c873a87f54ed0c3d29d82a5859933369b7
[CA-39425] Unhides "vm-memory-target-set" from the CLI, and brings the help string in line with current semantics.

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

diff -r 3ad339c873a8 -r 870e8b02f25d ocaml/xapi/cli_frontend.ml
--- a/ocaml/xapi/cli_frontend.ml	Mon Mar 29 16:12:41 2010 +0100
+++ b/ocaml/xapi/cli_frontend.ml	Tue Mar 30 09:47:03 2010 +0100
@@ -876,10 +876,11 @@
 	{
 		reqd=["target"];
 		optn=[];
-		help="Set the memory target for a running VM. The given value must be within the "^
-		     "range defined by the VM's memory_dynamic_min and memory_dynamic_max values.";
+		help="Set the memory target for a halted or running VM. The given \
+		value must be within the range defined by the VM's memory_static_min \
+		and memory_static_max values.";
 		implementation= No_fd Cli_operations.vm_memory_target_set;
-		flags=[Deprecated ["vm-memory-dynamic-range-set"]; Vm_selectors; Hidden];
+		flags=[Vm_selectors];
 	};
 
 	"vm-memory-target-wait",
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to