CircleCI Ideas

Nested virtualization is not supported in CircleCI VMs

ubuntu-1604:201903-01 image says “kvm: no hardware support”.

My use case is: I want to build .OVA file out of .iso using packer command. So I used machine executor and running packer inside the vm.
But I get following error which means that nested virtualization is not supported:
Logs:
Qemu stderr: Could not access KVM kernel module: No such file or directory
Qemu stderr: failed to initialize KVM: No such file or directory

#dmesg
kvm: no hardware support

Is there any way to address this issue in CircleCI?

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Oct 10 2019
  • New
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    16 Nov, 2019 08:20pm

    I am definitely for it. Addding this feature would allow us running Android Emulator natively with great boost in performance without a need of waiting endlessly for executing simple tasks.  And I would assume this is *not* hard to implement.