#
14b54ed7 |
| 26-Jul-2022 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge tag 'for_paolo' of https://github.com/sean-jc/kvm-unit-tests into HEAD
x86 fixes, cleanups, and new sub-tests:
- Bug fix for the VMX-preemption timer expiration test - Refactor SVM tests
Merge tag 'for_paolo' of https://github.com/sean-jc/kvm-unit-tests into HEAD
x86 fixes, cleanups, and new sub-tests:
- Bug fix for the VMX-preemption timer expiration test - Refactor SVM tests to split out NPT tests - Add tests for MCE banks to MSR test - Add SMP Support for x86 UEFI tests - x86: nVMX: Add VMXON #UD test (and exception cleanup) - PMU cleanup and related nVMX bug fixes
show more ...
|
#
cf75a19c |
| 21-Jul-2022 |
Sean Christopherson <seanjc@google.com> |
x86: nSVM: Add macros to create SVM's NPT tests, reduce boilerplate code
Add NPT_V{1,2}_TEST() macros to handle generating entries for NPT tests, the checks, GIF preparation, and cleanup are identic
x86: nSVM: Add macros to create SVM's NPT tests, reduce boilerplate code
Add NPT_V{1,2}_TEST() macros to handle generating entries for NPT tests, the checks, GIF preparation, and cleanup are identical for all tests.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
show more ...
|
#
6f5ce7c1 |
| 28-Jun-2022 |
Manali Shukla <manali.shukla@amd.com> |
x86: nSVM: Build up the nested page table dynamically
Build up nested page table dynamically based on the RAM size of VM instead of building it statically with 2048 PTEs and one PML4 entry, so that
x86: nSVM: Build up the nested page table dynamically
Build up nested page table dynamically based on the RAM size of VM instead of building it statically with 2048 PTEs and one PML4 entry, so that nested page table can be easily extensible to provide seperate range of addressses to test various test cases, if needed.
Signed-off-by: Manali Shukla <manali.shukla@amd.com> Link: https://lore.kernel.org/r/20220628113853.392569-6-manali.shukla@amd.com [sean: use enum, rename "nested" flag to "user", rework changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
show more ...
|
#
62f5db4b |
| 21-Jul-2022 |
Sean Christopherson <seanjc@google.com> |
x86: nSVM: Move all nNPT test cases from svm_tests.c to a separate file.
Move the nNPT testcases to their own test and file, svm_npt.c, so that the nNPT tests can run without the USER bit set in the
x86: nSVM: Move all nNPT test cases from svm_tests.c to a separate file.
Move the nNPT testcases to their own test and file, svm_npt.c, so that the nNPT tests can run without the USER bit set in the host PTEs (in order to toggle CR4.SMEP) without preventing other nSVM testcases from running code in usersmode.
Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Manali Shukla <manali.shukla@amd.com> Link: https://lore.kernel.org/r/20220628113853.392569-3-manali.shukla@amd.com [sean: name new array "npt_tests"] Signed-off-by: Sean Christopherson <seanjc@google.com>
show more ...
|