mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
558f00397a
Older kernels did not support this sysctl, but they did not restrict userfaultfd in any way so everything worked as if vm.unprivileged_userfaultfd was set to 1. Thus we can safely ignore errors when setting the value. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
7 lines
312 B
Plaintext
7 lines
312 B
Plaintext
# This is needed to support post-copy migration for QEMU run by libvirt,
|
|
# i.e., unprivileged, as userfaultfd is by default only available to
|
|
# privileged processes.
|
|
# It can be safely overridden by a file in /etc/sysctl.d/ in case post-copy
|
|
# migration is not used on the host.
|
|
-vm.unprivileged_userfaultfd = 1
|