Live migrate VMs with nested virtualization

spirit126

New Member
Oct 28, 2024
1
0
1
Is it possible to live migrate VMs that require nested virtualization?

I’m currently running a Proxmox cluster with AMD Ryzen 7 7840HS processors. For instance, I have Home Assistant installed on one of the VMs, which also hosts several Docker containers. Right now, I’ve set the CPU configuration to “Host” to support nested virtualization, as some of my VMs rely on this feature.

However, this setting seems to prevent live migration of the VM. Has anyone found a workaround or solution for live migrating VMs with nested virtualization enabled? Any insights or recommendations would be greatly appreciated!
 
I have Home Assistant installed on one of the VMs, which also hosts several Docker containers.
Docker is not nested virtualization. Nested virtualization if you would use e.g. a VM that has Hyper-V, ESXi, VirtualBox or KVM running. Those VMs would also use the nested virtualization cpu extensions that are known to do not like live migration to another host. At least for my older CPUs, this is the case. I cannot live migrate the VM to another node, I need to stop, migrate and start (or live migrate, stop and start) the VM in order to have a working hypervisor.
 
  • Like
Reactions: Johannes S