[libvirt] question about rdma migration
Roy Shterman
roy.shterman at gmail.com
Tue Mar 22 12:21:52 UTC 2016
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 <jdenemar at redhat.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160322/41988972/attachment-0001.htm>
More information about the libvir-list
mailing list