[libvirt PATCH v3] qemu: Enable unprivileged userfaultfd for post-copy migration

Daniel P. Berrangé berrange at redhat.com
Fri Dec 10 15:17:46 UTC 2021


On Tue, Dec 07, 2021 at 03:00:31PM +0100, Jiri Denemark wrote:
> 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 at redhat.com>

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


> Notes:
>     If you wonder about the 60-* prefix of the installed sysctl file, we already
>     install 60-libvirtd.conf so I think it makes sense to use the same prefix for
>     all sysctl configuration installed by libvirt.

Yep, 50-* is often used by common distro defaults, so 60 makes
sense and leaves space for users to override.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list