Nested vm in lxd


I created lxd vm, installed lxd in vm and checked that the container was created and executed normally.

Is nest vm impossible?

Please see the picture below.

Not with most commonly available kernels, no.

There is work to allow vsock nested that I believe has been merged in very recent kernels and should then allow this, but that’s not readily available yet.

If the vhost_vsock module is loaded, is it possible to implement nestvm?

In the latest kernel of centos (5.6.12), I checked that vhost_vsock is loaded with the help of @tomp.

In efi mode, I couldn’t find a way to expand the disk, so I couldn’t test it yet. (growpart is not available in efi.)