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

2021-12-02 Thread Peter Krempa
On Thu, Dec 02, 2021 at 16:56:49 +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 before starting post-copy migration. > > Rather than providing a static

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

2021-12-02 Thread Michal Prívozník
On 12/2/21 16:56, 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 before starting post-copy migration. > > Rather than providing a static sysctl configuration

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

2021-12-02 Thread Jiri Denemark
Userfaultfd is by default allowed only for privileged processes. Since libvirt runs QEMU unprivileged, we need to enable unprivileged access to userfaultfd before starting post-copy migration. Rather than providing a static sysctl configuration file, we set the sysctl knob in runtime once