Merge "Sync: Enable post-copy by setting unprivileged_userfaultfd"

This commit is contained in:
Zuul 2022-11-16 07:29:25 +00:00 committed by Gerrit Code Review
commit be6f2d72b2
1 changed files with 14 additions and 0 deletions

View File

@ -19,6 +19,20 @@
name: tripleo_nvdimm
when: tripleo_nova_compute_pmem_namespaces # not a bool
- name: manage OS version 9 specific sysctls
when:
- ansible_facts['os_family'] == 'RedHat'
- ansible_facts['distribution_major_version'] is version('9', '==')
block:
- name: Enable post-copy by setting unprivileged_userfaultfd
sysctl:
name: "vm.unprivileged_userfaultfd"
value: 1
sysctl_set: true
sysctl_file: /etc/sysctl.d/99-tripleo-postcopy.conf
state: present
reload: true
- name: enable/disable ksm
block:
- name: disable KSM on compute