Re: [libvirt] [PATCH] qemu: Increase RLIMIT_MEMLOCK when memoryBacking/locked is used

2013-05-17 Thread Jiri Denemark
On Fri, May 17, 2013 at 10:26:17 -0400, Laine Stump wrote: > On 05/17/2013 09:03 AM, Jiri Denemark wrote: > > If a domain is configured to have all its memory locked, we need to > > increase RLIMIT_MEMLOCK so that QEMU is actually allowed to lock the > > memory. > > --- > > src/qemu/qemu_command.c

Re: [libvirt] [PATCH] qemu: Increase RLIMIT_MEMLOCK when memoryBacking/locked is used

2013-05-17 Thread Laine Stump
On 05/17/2013 09:03 AM, Jiri Denemark wrote: > If a domain is configured to have all its memory locked, we need to > increase RLIMIT_MEMLOCK so that QEMU is actually allowed to lock the > memory. > --- > src/qemu/qemu_command.c | 31 +-- > 1 file changed, 21 insertions(

Re: [libvirt] [PATCH] qemu: Increase RLIMIT_MEMLOCK when memoryBacking/locked is used

2013-05-17 Thread Eric Blake
On 05/17/2013 07:03 AM, Jiri Denemark wrote: > If a domain is configured to have all its memory locked, we need to > increase RLIMIT_MEMLOCK so that QEMU is actually allowed to lock the > memory. > --- > src/qemu/qemu_command.c | 31 +-- > 1 file changed, 21 insertions(

[libvirt] [PATCH] qemu: Increase RLIMIT_MEMLOCK when memoryBacking/locked is used

2013-05-17 Thread Jiri Denemark
If a domain is configured to have all its memory locked, we need to increase RLIMIT_MEMLOCK so that QEMU is actually allowed to lock the memory. --- src/qemu/qemu_command.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/src/qemu/qemu_command.c