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] Improves the help text for the memory-related CLI func

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Improves the help text for the memory-related CLI functions "xe vm-memory-{dynamic, static}-range-set"
From: Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
Date: Tue, 2 Feb 2010 17:42:31 +0000
Delivery-date: Tue, 02 Feb 2010 09:43:09 -0800
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 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 <jonathan.knowles@xxxxxxxxxxxxx>

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


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] Improves the help text for the memory-related CLI functions "xe vm-memory-{dynamic, static}-range-set", Jonathan Knowles <=