[libvirt PATCH] qemu: Ignore missing vm.unprivileged_userfaultfd sysctl

Ján Tomko jtomko at redhat.com
Wed Feb 9 12:01:46 UTC 2022


On a Wednesday in 2022, Jiri Denemark wrote:
>Older kernels did not support this sysctl, but 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 at redhat.com>
>---
> src/qemu/postcopy-migration.sysctl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220209/fc751133/attachment-0001.sig>


More information about the libvir-list mailing list