]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add 'kvm balloon' command
authorSasha Levin <levinsasha928@gmail.com>
Sat, 2 Jul 2011 23:52:10 +0000 (02:52 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:07:45 +0000 (13:07 +0300)
commitfff28f574bee7ed61e8cbf762b839cb9fc925205
treec875b3f308b285ad39fe7dc50b019e9625b41fc9
parent7ba127ff0905ef6f6abb5cab378ec28cd03a49ef
kvm tools: Add 'kvm balloon' command

Add a command to allow easily inflate/deflate the balloon driver in running
instances.

Usage:
kvm balloon [command] [instance name] [size]

command is either inflate or deflate, and size is represented in MB.
Target instance must be named (started with '--name').

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/include/kvm/kvm-balloon.h [new file with mode: 0644]
tools/kvm/kvm-balloon.c [new file with mode: 0644]
tools/kvm/kvm-cmd.c
tools/kvm/virtio/balloon.c