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

[Xen-API] [PATCH] [CA-39425] Unhides "vm-memory-target-set" from the CLI

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] [CA-39425] Unhides "vm-memory-target-set" from the CLI, and brings the help string in line with current semantics
From: Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 09:51:41 +0100
Delivery-date: Tue, 30 Mar 2010 01:51:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
# 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 <jonathan.knowles@xxxxxxxxxxxxx>

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


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] [CA-39425] Unhides "vm-memory-target-set" from the CLI, and brings the help string in line with current semantics, Jonathan Knowles <=