Memory locking (libvirt memory backing)


I have a VM (that will be deployed on KVM/libvirt) that I need to lock the memory on.

The documentation for the product I am to create the VM for, says to edit the XML-file for virsh/libvirt, adding this:


I would like to be able to set this in the template, but I haven’t been able to find anything in the documentation on how to add this.

I’m running ONE 5.10

Best regards,

Thomas Espe