Linux 5.18's KVM Squeezes In AMD Nested Virtualization Improvements

Written by Michael Larabel in Virtualization on 1 April 2022 at 02:25 PM EDT. 14 Comments
Last week saw the main KVM virtualization pull for the Linux 5.18 feature updates while sent in today was a second batch of improvements for the Kernel-based Virtual Machine.

First up, Xen event channel acceleration is added for KVM. This patch series goes back a while and allows guest vCPUs to send each other IPIs without having to go through the user-space VMM.

There are a number of AMD nested virtualization improvements for this secondary pull request. Among the AMD nested virtualization improvements are optimizing "nested nested" optimizations (nesting a VM within an already nested virtual machine) when it comes to the VMLOAD/VMSAVE and nested vGIF handling. There is also support for allowing AVIC to co-exist with a nested guest running, fixes for LBR virtualization, PAUSE filtering for nested hypervisors, and other improvements around nested virtualization on AMD Ryzen/EPYC platforms.

Some of the other KVM updates for today's pull request includes MSR register filtering is now only done for MSRs being accessed via the RDMSR/WRMSR instructions, support for user-space to opt-out of hypercall patching, and new kernel interfaces to get/set the TSC frequency for an entire virtual machine. There are also fixes around PMU virtualization, preventing the KVM module from exiting until all VMs are freed, and other general bug fixes.

More details on this batch of KVM virtualization updates for Linux 5.18 via this PR from KVM maintainer Paolo Bonzini of Red Hat.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week