From 60bb34ef1ac874f0e55bef880be056c7118a56e4 Mon Sep 17 00:00:00 2001 From: Willem Mulder Date: Fri, 2 Jun 2017 11:35:46 +0200 Subject: [PATCH] Use Qemu instead of KVM when we don't have VMX/SVM --- buildserver/Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildserver/Vagrantfile b/buildserver/Vagrantfile index 15bcfca8..9abff4af 100644 --- a/buildserver/Vagrantfile +++ b/buildserver/Vagrantfile @@ -29,7 +29,7 @@ Vagrant.configure("2") do |config| elsif configfile["vm_provider"] == "libvirt" # use KVM/QEMU if this is running in KVM/QEMU config.vm.provider :libvirt do |libvirt| - libvirt.driver = "kvm" + libvirt.driver = configfile["hwvirtex"] == "on" ? "kvm" : "qemu" libvirt.host = "localhost" libvirt.uri = "qemu:///system" libvirt.cpus = configfile["cpus"] -- 2.30.2