mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Use Qemu instead of KVM when we don't have VMX/SVM
This commit is contained in:
parent
63fd20fff0
commit
60bb34ef1a
2
buildserver/Vagrantfile
vendored
2
buildserver/Vagrantfile
vendored
@ -29,7 +29,7 @@ Vagrant.configure("2") do |config|
|
|||||||
elsif configfile["vm_provider"] == "libvirt"
|
elsif configfile["vm_provider"] == "libvirt"
|
||||||
# use KVM/QEMU if this is running in KVM/QEMU
|
# use KVM/QEMU if this is running in KVM/QEMU
|
||||||
config.vm.provider :libvirt do |libvirt|
|
config.vm.provider :libvirt do |libvirt|
|
||||||
libvirt.driver = "kvm"
|
libvirt.driver = configfile["hwvirtex"] == "on" ? "kvm" : "qemu"
|
||||||
libvirt.host = "localhost"
|
libvirt.host = "localhost"
|
||||||
libvirt.uri = "qemu:///system"
|
libvirt.uri = "qemu:///system"
|
||||||
libvirt.cpus = configfile["cpus"]
|
libvirt.cpus = configfile["cpus"]
|
||||||
|
Loading…
Reference in New Issue
Block a user