diff options
author | Jiri Denemark <jdenemar@redhat.com> | 2021-12-02 15:43:27 +0100 |
---|---|---|
committer | Jiri Denemark <jdenemar@redhat.com> | 2021-12-10 17:53:11 +0100 |
commit | d804408ef9044aeb0d73b2e83fc044c5fff3c86d (patch) | |
tree | ede4e382fb2d02b8663c06a46e47da7f9eea6e05 /libvirt.spec.in | |
parent | 1ee3314c10852dac667f9a50b00fa81cc68141c5 (diff) | |
download | libvirt-d804408ef9044aeb0d73b2e83fc044c5fff3c86d.tar.gz |
qemu: Enable unprivileged userfaultfd for post-copy migration
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>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r-- | libvirt.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in index 5a079cdaf3..3aa4cc75b5 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1859,6 +1859,7 @@ exit 0 %files daemon-driver-qemu %config(noreplace) %{_sysconfdir}/sysconfig/virtqemud %config(noreplace) %{_sysconfdir}/libvirt/virtqemud.conf +%config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf %{_datadir}/augeas/lenses/virtqemud.aug %{_datadir}/augeas/lenses/tests/test_virtqemud.aug %{_unitdir}/virtqemud.service |