[libvirt-users] locking domain memory

Dennis Jacobfeuerborn dennisml at conversis.de
Fri Nov 18 22:17:07 UTC 2016


Hi,
is there a way to lock a guests memory so it doesn't get swapped out? I
now there is memoryBacking->locked but that says it requires
memtune->hard_limit and the description of that basically "don't ever do
this" rendering the locked element kind of pointless.
How can I prevent the guests memory from being swapped out without
shooting myself in the foot?

Regards,
  Dennis




More information about the libvirt-users mailing list