[libvirt] [PATCH 1/8] Revert "qemu: Forbid <memoryBacking><locked> without <memtune><hard_limit>"

Andrea Bolognani abologna at redhat.com
Tue Mar 28 16:21:59 UTC 2017


On Tue, 2017-03-28 at 09:27 -0400, Luiz Capitulino wrote:
> > Well, it *does* work if you set it up properly, eg. raise the
> > memory locking limit for the user under which libvirtd will
> > run instead of the user under which QEMU processes will run.
> 
> Doesn't libvirtd run as root?

Yes. You can set the memory locking limit to whatever you
want for the root user, and then QEMU processes spawned by
libvirtd will inherit it.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list