Adding sysctl changes for post-copy migration

Related-Bug: 2052473
Change-Id: If9efdecbf3bfcb3390ec080b3e2f9cfc7b838459
This commit is contained in:
keerthivasan86
2024-02-06 13:25:30 -08:00
committed by melanie witt
parent 0c793f84a8
commit 3395484105

View File

@@ -314,6 +314,15 @@ memory-intensive instances succeed.
interrupted, page faults cannot be resolved anymore and the instance is
rebooted.
.. important::
You may need to enable ``unprivileged_userfaultfd`` on newer kernels in
order for post-copy to work.
.. code-block:: console
sysctl vm.unprivileged_userfaultfd=1
.. TODO Bernd: I *believe* that it is certain to succeed,
.. but perhaps I am missing something.