]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Set reasonable RSS limit on domain startup
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Jul 2012 16:38:47 +0000 (18:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 6 Aug 2012 06:06:44 +0000 (08:06 +0200)
commitaddeb7cd0502b8d69c9f50c97e87f4563ddbe25a
treec5104880b7b74ce7ed3f36c9720cf0f7fdc5241e
parente534ec66dc0aa7e428a3ba50dd575516f8d56b7c
qemu: Set reasonable RSS limit on domain startup

If there's a memory leak in qemu or qemu is exploited the host's
system will sooner or later start trashing instead of killing
the bad process. This however has impact on performance and other
guests as well. Therefore we should set a reasonable RSS limit
even when user hasn't set any. It's better to be secure by default.
src/qemu/qemu_cgroup.c