Przeglądaj źródła

Improve Xen Hypervisiors kernel options

Emmanuel Bouthenot 9 lat temu
rodzic
commit
3a1a0660c1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      roles/hypervisor/tasks/xen.yml

+ 1 - 1
roles/hypervisor/tasks/xen.yml

@@ -15,7 +15,7 @@
     dest: '/etc/default/grub'
     regexp: '^GRUB_CMDLINE_XEN_DEFAULT='
     insertafter: '^GRUB_CMDLINE_LINUX='
-    line: 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem={{ xendom0_mem  }}M,max:{{ xendom0_mem }}M"'
+    line: 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem={{ xendom0_mem  }}M,max:{{ xendom0_mem }}M dom0_max_vcpus=1 dom0_vcpus_pin"'
   when: with_xen
 
 - name: 'Set Xen hypervisor to boot first'