qemu-kvm/95-kvm-memlock.conf
Danilo C. L. de Paula 58305efc05 Initial 3.0.0 rebase
2018-10-14 14:48:54 -03:00

11 lines
410 B
Plaintext

# The KVM HV implementation on Power can require a significant amount
# of unswappable memory (about half of which also needs to be host
# physically contiguous) to hold the guest's Hash Page Table (HPT) -
# roughly 1/64th of the guest's RAM size, minimum 16MiB.
#
# These limits allow unprivileged users to start smallish VMs, such as
# those used by libguestfs.
#
* hard memlock 65536
* soft memlock 65536