]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Don't use all of host RAM for guests by default
authorPekka Enberg <penberg@kernel.org>
Sat, 7 May 2011 19:01:54 +0000 (22:01 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 7 May 2011 19:01:54 +0000 (22:01 +0300)
commit20feec3085c078c51de0f3afefead09d572e175f
tree539ee7c179ec1473ef5b2a7766ebc4c744df1cc8
parent731ee42c1a0ab5d0f6156e4d93e6c538792ba313
kvm tools: Don't use all of host RAM for guests by default

This patch fixes the default guest RAM size maximum to 80% of the host RAM to
avoid swapping the host to death.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Prasad Joshi <prasadjoshi124@gmail.com>
Cc: Sasha Levin <levinsasha928@gmail.com>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-run.c