diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-12-30 15:01:41 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-08 12:02:12 -0800 |
| commit | 8296b16c0a2ba018c3235db5325d679e603899d6 (patch) | |
| tree | 83537c829fdd895964e22b830f636cef16fc2cda /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | e40e72fec0dea9ac55aea84a0d76ccb7d7f32204 (diff) | |
KVM: selftests: Add a stage-2 MMU instance to kvm_vm
Add a stage-2 MMU instance so that architectures that support nested
virtualization (more specifically, nested stage-2 page tables) can create
and track stage-2 page tables for running L2 guests. Plumb the structure
into common code to avoid cyclical dependencies, and to provide some line
of sight to having common APIs for creating stage-2 mappings.
As a bonus, putting the member in common code justifies using stage2_mmu
instead of tdp_mmu for x86.
Reviewed-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251230230150.4150236-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
