From patchwork Fri Jul 8 21:56:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 957522 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p68LvEUF017340 for ; Fri, 8 Jul 2011 21:57:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395Ab1GHV5M (ORCPT ); Fri, 8 Jul 2011 17:57:12 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=gy3+lKPkKWJnv89W2cl3I/Feps2JrF0aMgLqaUlH69M=; b=J/19aXZa8UP2+/Tn7I2N8+ALUOlbOAn0L/1a/6EPeuqaeT4Zh4C6MF8wALj2XeQa26 mPubb5/xNEIMH8XXhR5mIChj/q+TOEaJw1Q0t9NMzDiBFlgbiHrJ8PmqwYcsuPz7m9mN xZC9DKKmm48w1L8HMipU9T0vq1GNxuQnGcW/E= Received: by 10.216.135.71 with SMTP id t49mr2188716wei.43.1310162230562; Fri, 08 Jul 2011 14:57:10 -0700 (PDT) Received: from localhost.localdomain (bzq-79-178-209-230.red.bezeqint.net [79.178.209.230]) by mx.google.com with ESMTPS id m35sm1493611weq.36.2011.07.08.14.57.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 14:57:10 -0700 (PDT) From: Sasha Levin To: penberg@kernel.org Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, 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> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1310162174-3426-1-git-send-email-levinsasha928@gmail.com> References: <1310162174-3426-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 08 Jul 2011 21:57:14 +0000 (UTC) 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