From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: [PATCH 5/7] kvm tools: Properly add 'kvm balloon' to command list Date: Sat, 9 Jul 2011 00:56:12 +0300 Message-ID: <1310162174-3426-5-git-send-email-levinsasha928@gmail.com> References: <1310162174-3426-1-git-send-email-levinsasha928@gmail.com> Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, Sasha Levin To: penberg@kernel.org Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:43127 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751233Ab1GHV5L (ORCPT ); Fri, 8 Jul 2011 17:57:11 -0400 Received: by mail-ww0-f44.google.com with SMTP id 5so2351812wwe.1 for ; Fri, 08 Jul 2011 14:57:10 -0700 (PDT) In-Reply-To: <1310162174-3426-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Also adds some documentation. Signed-off-by: Sasha Levin --- 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