Also adds some documentation.

Signed-off-by: Sasha Levin <[email protected]>
---
 tools/kvm/Documentation/kvm-balloon.txt |   24 ++++++++++++++++++++++++
 tools/kvm/command-list.txt              |    1 +
 2 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 tools/kvm/Documentation/kvm-balloon.txt

diff --git a/tools/kvm/Documentation/kvm-balloon.txt 
b/tools/kvm/Documentation/kvm-balloon.txt
new file mode 100644
index 0000000..5ba68d6
--- /dev/null
+++ b/tools/kvm/Documentation/kvm-balloon.txt
@@ -0,0 +1,24 @@
+kvm-balloon(1)
+================
+
+NAME
+----
+kvm-balloon - Inflate or deflate the virtio balloon
+
+SYNOPSIS
+--------
+[verse]
+'kvm balloon [instance] [command] [size]'
+
+DESCRIPTION
+-----------
+The command inflates or deflates the virtio balloon located in the
+specified instance.
+For a list of running instances see 'kvm list'.
+
+Command can be either 'inflate' or 'deflate'. Inflate increases the
+size of the balloon, thus decreasing the amount of virtual RAM available
+for the guest. Deflation returns previously inflated memory back to the
+guest.
+
+size is specified in Mb.
diff --git a/tools/kvm/command-list.txt b/tools/kvm/command-list.txt
index 12ef4b8..037a8ea 100644
--- a/tools/kvm/command-list.txt
+++ b/tools/kvm/command-list.txt
@@ -7,3 +7,4 @@ kvm-pause                       common
 kvm-version                    common
 kvm-list                       common
 kvm-debug                      common
+kvm-balloon                    common
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to