[RFT] KVM Planes on Linux 7.1 ready for testing
Jörg Rödel <[email protected]> Tue, 2 Jun 2026 12:41:57 +0200
| Newsgroups | dev.linux.lists.coconut-svsm,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
An updated version of the KVM Planes patches is now ready for wider testing.
The branches are based on Linux v7.1-rc6 and QEMU 11.0.0. Before sending them
out I'd love to get more people from the COCONUT community test the changes and
report any problems or regressions agains the 6.11 version.
The Linux branch is here:
https://github.com/joergroedel/linux/tree/kvm-planes-v7.1
The QEMU branch is here:
https://github.com/joergroedel/qemu/tree/qemu-planes-linux-v7.1
Both need to be used together, the current QEMU svsm-igvm branch will not work
the kernel above.
For QEMU, there are some minor changes needed for the command line:
- Add a device-plane=2 parameter to the machine specification
- Use irq-chip=split
As an example, my QEMU command line starts like this:
qemu-system-x86_64 \
-enable-kvm \
-cpu EPYC-v4 \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1,igvm-cfg=igvm0,kernel-irqchip=split,device-plane=2 \
-object memory-backend-memfd,id=ram1,size=32G,share=true \
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1 \
-object igvm-cfg,id=igvm0,file=$IGVM_FILE \
...
If no major issues are reported, I plan to post these patches to the mailing
lists for KVM and QEMU by next week.
I plan to update the COCONUT-SVSM downstream branches for KVM and QEMU once
Linux 7.1 is released and regularily rebase the changes to newer kernel and
QEMU versions, also incoperating review feedback from upstream.
Known limitation: The direct-VMSA setting support we have in the 6.11 kernel is
not part of the KVM planes patches yet. I plan to send a separate patch-set for
this feature.
Happy testing!
-Joerg