Comment 0 for bug 1974017

Revision history for this message
bugproxy (bugproxy) wrote :

KVM nesting support consumes too much memory

When running KVM with nesting support (kvm.nested=1 on the kernel command line) the shadow page table code will produce too many entries in the shadow code.

There is an upstream fix that will prevent the majority of the problem:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a06afe8383080c630a7a528b8382fc6bb4925b61

The fix is needed for 20.04 and 22.04.