From: Zack Cerza Date: Tue, 23 May 2017 18:55:29 +0000 (-0600) Subject: Use host-passthrough for libvirt vCPUs X-Git-Tag: v2.3.0rc2~45^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0b7744db274717756307e61fcfe0985bf144f488;p=ceph-ansible.git Use host-passthrough for libvirt vCPUs Signed-off-by: Zack Cerza --- diff --git a/Vagrantfile b/Vagrantfile index beb17fe5e..910f6bdf9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -132,6 +132,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.ssh.private_key_path = settings['ssh_private_key_path'] config.ssh.username = USER + # When using libvirt, avoid errors like: + # "host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]" + config.vm.provider :libvirt do |lv| + lv.cpu_mode = 'host-passthrough' + end + # Faster bootup. Disables mounting the sync folder for libvirt and virtualbox if DISABLE_SYNCED_FOLDER config.vm.provider :virtualbox do |v,override|