mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-19 01:51:32 +00:00
Userfaultfd is by default allowed only for privileged processes. Since libvirt runs QEMU unprivileged, we need to enable unprivileged access to userfaultfd to enable post-copy migration. https://bugzilla.redhat.com/show_bug.cgi?id=1945420 Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
7 lines
311 B
Plaintext
7 lines
311 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
|