Correct me if I'm wrong but locked option is pinning all VM memory in host RAM,
for example if I have a VM with 4G memory, and I want to run some QEMU code which needs to pin 500M, I will need to lock all 4G in host memory instead of locking only 500M. Any idea to solve my problem? Regards, Roy On Mon, Mar 21, 2016 at 10:58 AM, Jiri Denemark <[email protected]> wrote: > On Sat, Mar 19, 2016 at 14:53:45 +0200, Roy Shterman wrote: > > Hi Jirka, > > > > Thanks for your answer, but I'm looking for a way to set RLIMIT_MEMLOCK > > without locking all VM memory. > > I'm wondering if there is a way to set RLIMIT_MEMLOCK without using the > > methods you wrote above. > > No, libvirt doesn't provide any way to do this. But why would you even > want to do that? RLIMIT_MEMLOCK is irrelevant when you don't lock the > memory. > > Jirka >
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
