We are using Switch Engines to run our Continuous Integration (CI) server and as part of that we wanted to run some tests in a VM. The VM is necessary because we want to test our installation procedure and to ensure reproducibility, we can’t do that on the Switch Engine Machine directly. However, we noticed that running VMs was really slow, we are running into all kind of timeouts because the VM takes ages to boot. The VM is just a small NixOS image, so the VM itself shouldn’t be the problem.
If I am not mistaken, Switch Engines runs on Openstack? So this means if we run a VM inside Switch Engines Machines, we are trying to do nested virtualization. Some googling revealed that hardware support for nested virtualization is disabled by default, which means our nested VMs probably fallback to full emulation explaining the low speed. Relevant OpenStack documentation: https://docs.openstack.org/developer/devstack/guides/devstack-with-nested-kvm.html .
Long story short, can you tell us if nested (kvm) virtualization is enabled on Switch Engines? Or would it be possible to enable it?