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

[Xen-changelog] This patch renames balloon command to "set-mem", so inst

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] This patch renames balloon command to "set-mem", so instead of "xm
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 06:36:16 -0400
Delivery-date: Fri, 29 Jul 2005 10:37:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID c4cb2167d3c76b8523e5b818dec5e812fb3bba14
# Parent  2c0036a1cf4f6c7fc164c837f4c8daf58af1acba
This patch renames balloon command to "set-mem", so instead of "xm
balloon", we will use "xm set-mem" (as suggested by TODO list)

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>

diff -r 2c0036a1cf4f -r c4cb2167d3c7 docs/src/user.tex
--- a/docs/src/user.tex Fri Jul 29 10:36:53 2005
+++ b/docs/src/user.tex Fri Jul 29 10:37:30 2005
@@ -930,12 +930,12 @@
 \subsection{Setting memory footprints from dom0}
 
 The machine administrator can request that a domain alter its memory
-footprint using the \path{xm balloon} command.  For instance, we can
+footprint using the \path{xm set-mem} command.  For instance, we can
 request that our example ttylinux domain reduce its memory footprint
 to 32 megabytes.
 
 \begin{verbatim}
-# xm balloon ttylinux 32
+# xm set-mem ttylinux 32
 \end{verbatim}
 
 We can now see the result of this in the output of \path{xm list}:
@@ -951,16 +951,16 @@
 can restore the domain to its original size using the command line:
 
 \begin{verbatim}
-# xm balloon ttylinux 64
+# xm set-mem ttylinux 64
 \end{verbatim}
 
 \subsection{Setting memory footprints from within a domain}
 
-The virtual file \path{/proc/xen/memory\_target} allows the owner of a
+The virtual file \path{/proc/xen/balloon} allows the owner of a
 domain to adjust their own memory footprint.  Reading the file
-(e.g. \path{cat /proc/xen/memory\_target}) prints out the current
+(e.g. \path{cat /proc/xen/balloon}) prints out the current
 memory footprint of the domain.  Writing the file
-(e.g. \path{echo new\_target > /proc/xen/memory\_target}) requests
+(e.g. \path{echo new\_target > /proc/xen/balloon}) requests
 that the kernel adjust the domain's memory footprint to a new value.
 
 \subsection{Setting memory limits}
@@ -1285,7 +1285,7 @@
 The available commands are as follows:
 
 \begin{description}
-\item[balloon] Request a domain to adjust its memory footprint.
+\item[set-mem] Request a domain to adjust its memory footprint.
 \item[create] Create a new domain.
 \item[destroy] Kill a domain immediately.
 \item[list] List running domains.
diff -r 2c0036a1cf4f -r c4cb2167d3c7 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Fri Jul 29 10:36:53 2005
+++ b/tools/python/xen/xm/main.py       Fri Jul 29 10:37:30 2005
@@ -563,9 +563,9 @@
 
 xm.prog(ProgMaxmem)
 
-class ProgBalloon(Prog):
-    group = 'domain'
-    name  = 'balloon'
+class ProgSetMem(Prog):
+    group = 'domain'
+    name  = 'set-mem'
     info  = """Set the domain's memory footprint using the balloon driver."""
 
     def help(self, args):
@@ -579,7 +579,7 @@
         mem_target = int_unit(args[2], 'm')
         server.xend_domain_mem_target_set(dom, mem_target)
 
-xm.prog(ProgBalloon)
+xm.prog(ProgSetMem)
 
 class ProgVcpuhotplug(Prog):
     group = 'domain'

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] This patch renames balloon command to "set-mem", so instead of "xm, Xen patchbot -unstable <=