[LTP] [PATCH 0/5] KVM test for Intel VMX vAPIC
Martin Doucha
mdoucha@suse.cz
Mon Apr 7 16:23:44 CEST 2025
We already have a CVE test for AMD SVM which checks that access to virtual
APIC in nested VMs is correctly redirected to the backing page allocated
by the parent VM. Add a similar test for Intel VMX.
Martin Doucha (5):
kvm_vmx01: Fix 32bit compiler warnings
KVM: Add kvm_vmx01 to the runtest file
KVM: Simplify reading VMX control field masks
KVM: Add constants for Intel VMX vAPIC control
Add test for Intel VMX virtualized APIC
runtest/kvm | 2 +
testcases/kernel/kvm/.gitignore | 1 +
testcases/kernel/kvm/include/kvm_x86_vmx.h | 22 ++-
testcases/kernel/kvm/kvm_vmx01.c | 15 +-
testcases/kernel/kvm/kvm_vmx02.c | 193 +++++++++++++++++++++
testcases/kernel/kvm/lib_x86.c | 48 +++--
6 files changed, 260 insertions(+), 21 deletions(-)
create mode 100644 testcases/kernel/kvm/kvm_vmx02.c
--
2.49.0
More information about the ltp
mailing list