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:
Qemu stderr: Could not access KVM kernel module: No such file or directory
Qemu stderr: failed to initialize KVM: No such file or directory

kvm: no hardware support

Is there any way to address this issue in CircleCI?

Hi there,

There is no way to do this on CircleCI cloud (the default offering) right now. You could potentially get this to work on CircleCI server but this would involve running the entire system on your own hardware.

EDIT: I was going to edit this and suggest opening up a feature request, but it looks like you already did it, thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.