Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Set the libvirt driver to use accelerated kvm.
Browse files Browse the repository at this point in the history
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:

vagrant-libvirt/vagrant-libvirt@67734f0

also available at:

purpleidea/vagrant-libvirt@67734f0
  • Loading branch information
purpleidea committed May 6, 2014
1 parent 130abef commit afc480f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vagrant/gluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afc480f

Please sign in to comment.