diff --git a/README.md b/README.md index 0759aea..ee95cd3 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Vagrant.configure("2") do |config| end config.vm.provider :libvirt do |libvirt| - libvirt.driver = "qemu" + libvirt.driver = "kvm" libvirt.host = "localhost" libvirt.connect_via_ssh = true libvirt.username = "root" @@ -100,7 +100,7 @@ end This provider exposes quite a few provider-specific configuration options: -* `driver` - A hypervisor name to access. For now only qemu is supported. +* `driver` - A hypervisor name to access. For now only kvm and qemu are supported. * `host` - The name of the server, where libvirtd is running. * `connect_via_ssh` - If use ssh tunnel to connect to Libvirt. * `username` - Username and password to access Libvirt. diff --git a/example_box/Vagrantfile b/example_box/Vagrantfile index f3026ad..594b9b1 100644 --- a/example_box/Vagrantfile +++ b/example_box/Vagrantfile @@ -33,10 +33,11 @@ Vagrant.configure("2") do |config| # A hypervisor name to access. Different drivers can be specified, but # this version of provider creates KVM machines only. Some examples of - # drivers are qemu (KVM/qemu), xen (Xen hypervisor), lxc (Linux Containers), + # drivers are kvm (qemu hardware accelerated), qemu (qemu emulated), + # xen (Xen hypervisor), lxc (Linux Containers), # esx (VMware ESX), vmwarews (VMware Workstation) and more. Refer to # documentation for available drivers (http://libvirt.org/drivers.html). - libvirt.driver = "qemu" + libvirt.driver = "kvm" # The name of the server, where libvirtd is running. libvirt.host = "localhost" diff --git a/lib/vagrant-libvirt/config.rb b/lib/vagrant-libvirt/config.rb index 3a6aec4..bf23192 100644 --- a/lib/vagrant-libvirt/config.rb +++ b/lib/vagrant-libvirt/config.rb @@ -123,7 +123,7 @@ module VagrantPlugins end def finalize! - @driver = 'qemu' if @driver == UNSET_VALUE + @driver = 'kvm' if @driver == UNSET_VALUE @host = nil if @host == UNSET_VALUE @connect_via_ssh = false if @connect_via_ssh == UNSET_VALUE @username = nil if @username == UNSET_VALUE