Using LXC Containers for Nested Virtualization with KVM Access

I am currently using LXD VMs to launch machines and perform tasks within them. I require KVM access and nested virtualization within these VMs to launch QEMU VMs. While LXD VMs fulfill these requirements, I am considering using LXC containers to reduce resource usage.

My primary concerns are KVM access and sufficient isolation, ensuring the file system and processes within the container are not accessible. Can LXC containers provide these features, or are there any limitations that might deter me from using them?

1 Like