[libvirt] [PATCH] Cope with missing swap cgroup controls

2013-05-09 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com It is possible to build a kernel without swap cgroup controls present. This causes a fatal error when querying memory parameters. Treat missing swap controls as meaning unlimited. The fatal error remains if the user tries to actually change the limit.

Re: [libvirt] [PATCH] Cope with missing swap cgroup controls

2013-05-09 Thread Michal Privoznik
On 09.05.2013 14:55, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com It is possible to build a kernel without swap cgroup controls present. This causes a fatal error when querying memory parameters. Treat missing swap controls as meaning unlimited. The fatal error