There are times (like when you’re figuring out a post like this) that you will need to fire up devstack in a VM, and in said VM ensure KVM is running. Here’s how to do that:
- Add ‘vmv.allow = TRUE’ to the VMX file. I do this in vagrant like so:
# VMware Fusion
config.vm.provider "vmware_fusion" do |vmware, override|
override.vm.box = "trusty64_fusion"
... snip ...
vmware.vmx["memsize"] = "6144"
vmware.vmx["numvcpus"] = "2"
vmware.vmx["vhv.enable"] = "TRUE"
end
- Install KVM into the VM:
sudo apt-get update && sudo apt-get install -y kvm libvirt-bin virtinst
- Run
kvm-ok
~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
- Finally, run
./stack.sh
“vmv.enable” is either a mistake of “vhv.enable”?