linux/tools/testing/selftests/kvm/include
Paolo Bonzini 1b13885edf Merge tag 'kvm-x86-apic-6.20' of https://github.com/kvm-x86/linux into HEAD
KVM x86 APIC-ish changes for 6.20

 - Fix a benign bug where KVM could use the wrong memslots (ignored SMM) when
   creating a vCPU-specific mapping of guest memory.

 - Clean up KVM's handling of marking mapped vCPU pages dirty.

 - Drop a pile of *ancient* sanity checks hidden behind in KVM's unused
   ASSERT() macro, most of which could be trivially triggered by the guest
   and/or user, and all of which were useless.

 - Fold "struct dest_map" into its sole user, "struct rtc_status", to make it
   more obvious what the weird parameter is used for, and to allow burying the
   RTC shenanigans behind CONFIG_KVM_IOAPIC=y.

 - Bury all of ioapic.h and KVM_IRQCHIP_KERNEL behind CONFIG_KVM_IOAPIC=y.

 - Add a regression test for recent APICv update fixes.

 - Rework KVM's handling of VMCS updates while L2 is active to temporarily
   switch to vmcs01 instead of deferring the update until the next nested
   VM-Exit.  The deferred updates approach directly contributed to several
   bugs, was proving to be a maintenance burden due to the difficulty in
   auditing the correctness of deferred updates, and was polluting
   "struct nested_vmx" with a growing pile of booleans.

 - Handle "hardware APIC ISR", a.k.a. SVI, updates in kvm_apic_update_apicv()
   to consolidate the updates, and to co-locate SVI updates with the updates
   for KVM's own cache of ISR information.

 - Drop a dead function declaration.
2026-02-11 12:45:32 -05:00
..
arm64 KVM selftests changes for 6.20 2026-02-09 18:38:54 +01:00
loongarch KVM: selftests: Add a "struct kvm_mmu_arch arch" member to kvm_mmu 2026-01-08 12:02:09 -08:00
riscv KVM/riscv changes for 6.20 2026-02-11 12:45:00 -05:00
s390 KVM: selftests: Add a "struct kvm_mmu_arch arch" member to kvm_mmu 2026-01-08 12:02:09 -08:00
x86 Merge tag 'kvm-x86-apic-6.20' of https://github.com/kvm-x86/linux into HEAD 2026-02-11 12:45:32 -05:00
guest_modes.h KVM: selftests: arm64: Determine max ipa size per-page size 2023-11-27 15:03:50 +00:00
kvm_syscalls.h KVM: selftests: Define wrappers for common syscalls to assert success 2025-10-20 06:30:42 -07:00
kvm_test_harness.h KVM: selftests: Add a macro to define a test with one vcpu 2024-02-28 20:58:12 +00:00
kvm_util.h KVM/riscv changes for 6.20 2026-02-11 12:45:00 -05:00
kvm_util_types.h KVM: sefltests: Add kvm_util_types.h to hold common types, e.g. vm_vaddr_t 2024-04-29 12:54:16 -07:00
lru_gen_util.h KVM: selftests: access_tracking_perf_test: Use MGLRU for access tracking 2025-05-16 12:58:21 -07:00
memstress.h KVM: selftests: Provide a global pseudo-RNG instance for all tests 2024-04-29 12:50:41 -07:00
numaif.h KVM: selftests: Add helpers to probe for NUMA support, and multi-node systems 2025-10-20 06:30:44 -07:00
sparsebit.h KVM: selftests: Add a macro to iterate over a sparsebit range 2024-02-28 20:58:12 +00:00
test_util.h KVM: selftests: Add wrapper macro to handle and assert on expected SIGBUS 2025-10-10 14:25:29 -07:00
timer_test.h KVM: riscv: selftests: Add sstc timer test 2024-03-06 20:53:29 +05:30
ucall_common.h KVM: selftests: Annotate guest ucall, printf, and assert helpers with __printf() 2023-12-01 08:15:41 -08:00
userfaultfd_util.h KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00