Re: [PATCH v2 00/23] Extend test coverage for nested SVM

From: Sean Christopherson

Date: Thu Nov 20 2025 - 18:23:24 EST


On Tue, Oct 21, 2025, Yosry Ahmed wrote:
> There are multiple selftests exercising nested VMX that are not specific
> to VMX (at least not anymore). Extend their coverage to nested SVM.
>
> This version is significantly different (and longer) than v1 [1], mainly
> due to the change of direction to reuse __virt_pg_map() for nested EPT/NPT
> mappings instead of extending the existing nested EPT infrastructure. It
> also has a lot more fixups and cleanups.
>
> This series depends on two other series:
> - "KVM: SVM: GIF and EFER.SVME are independent" [2]
> - "KVM: selftests: Add test of SET_NESTED_STATE with 48-bit L2 on 57-bit L1" [3]

No, it depends on local commits that are very similar to [3], but not precisely
[3]. In the future, please provide a link to a git repo+branch when posting
series with dependencies. It took me several attempts and a bit of conflict
resolution to get this series applied.

> [1]https://lore.kernel.org/kvm/20251001145816.1414855-1-yosry.ahmed@xxxxxxxxx/
> [2]https://lore.kernel.org/kvm/20251009223153.3344555-1-jmattson@xxxxxxxxxx/
> [3]https://lore.kernel.org/kvm/20250917215031.2567566-1-jmattson@xxxxxxxxxx/