summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-05-05 18:29:09 -0400
committerJames Shubin <james@shubin.ca>2014-05-06 14:20:11 -0400
commitafc480f66ff3ce37dbcc6ff389aaa491d6f1ab85 (patch)
treed2a6e7351e5ffae4a92926c51355322c4b9c4b62
parent130abef98a5df08291042cce6a8efc8a089a244f (diff)
downloadpuppet-gluster-afc480f66ff3ce37dbcc6ff389aaa491d6f1ab85.tar.gz
puppet-gluster-afc480f66ff3ce37dbcc6ff389aaa491d6f1ab85.tar.xz
puppet-gluster-afc480f66ff3ce37dbcc6ff389aaa491d6f1ab85.zip
Set the libvirt driver to use accelerated kvm.
This wasn't necessary in previous versions of vagrant-libvirt because this option specified the uri, and the domain type defaulted to kvm. In newer releases, you have to specify this for performance, otherwise it will default to qemu software only virtualization. This depends on: https://github.com/pradels/vagrant-libvirt/commit/67734f003273d3fadcca3893c994f691fee1b629 also available at: https://github.com/purpleidea/vagrant-libvirt/commit/67734f003273d3fadcca3893c994f691fee1b629
-rw-r--r--vagrant/gluster/Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/gluster/Vagrantfile b/vagrant/gluster/Vagrantfile
index cdb71d0..6f65ec9 100644
--- a/vagrant/gluster/Vagrantfile
+++ b/vagrant/gluster/Vagrantfile
@@ -575,7 +575,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# libvirt
#
config.vm.provider :libvirt do |libvirt|
- libvirt.driver = 'qemu'
+ libvirt.driver = 'kvm' # needed for kvm performance benefits !
# leave out to connect directly with qemu:///system
#libvirt.host = 'localhost'
libvirt.connect_via_ssh = false