Basic KVM test for Intel VMX
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | kvm_read_sregs(): Read the TR segment registertestcases/ testcases/ testcases/ | +5 | 0 replies | |
| 2/10 | kvm_svm_vmrun(): Simplify VM state save/load with macrostestcases/ testcases/ | +98 | 0 replies | |
| 3/10 | kvm_x86: Define CR0 flags and additional CPUID/MSR constantstestcases/ | +14 | 0 replies | |
| 4/10 | KVM: Implement helper functions for setting x86 control registerstestcases/ testcases/ | +30 | 0 replies | |
| 5/10 | KVM: Add memcmp() helper functiontestcases/ testcases/ | +14 | 0 replies | |
| 6/10 | KVM: Add helper functions for nested Intel VMX virtualizationtestcases/ testcases/ testcases/ +1 more | +807 | 0 replies | |
| 7/10 | lib: Add helper function for reloading kernel modulesinclude/ lib/ | +31 | 0 replies | |
| 8/10 | lib: Add helper function for reading boolean sysconf filesinclude/ lib/ | +37 | 0 replies | |
| 9/10 | kvm_pagefault01: Use library functions to reload KVM modulestestcases/ | +5 | 0 replies | |
| 10/10 | KVM: Add functional test for emulated VMREAD/VMWRITE instructionstestcases/ | +282 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [LTP] [PATCH 00/10] Basic KVM test for Intel VMX
Since we already have some functional and CVE tests for AMD SVM, we should also add tests for Intel VMX. This patchset adds the necessary support code for creating nested VMs on Intel VMX and a simple functional test for VMREAD/VMWRITE instructions similar to kvm_svm04.
The changes include refactoring of existing tests so let's merge it after the upcoming LTP release.
Martin Doucha (10):
kvm_read_sregs(): Read the TR segment register kvm_svm_vmrun(): Simplify VM state save/load with macros
kvm_x86: Define CR0 flags and additional CPUID/MSR constants
KVM: Implement helper functions for setting x86 control registers
KVM: Add memcmp() helper function
KVM: Add helper functions for nested Intel VMX virtualization
lib: Add helper function for reloading kernel modules
lib: Add helper function for reading boolean sysconf files
kvm_pagefault01: Use library functions to reload KVM modules
KVM: Add functional test for emulated VMREAD/VMWRITE instructions
include/tst_module.h | 3 + include/tst_sys_conf.h | 2 + lib/tst_module.c | 28 ++ lib/tst_sys_conf.c | 35 ++ testcases/kernel/kvm/bootstrap_x86.S | 123 ++++- testcases/kernel/kvm/bootstrap_x86_64.S | 153 ++++-- testcases/kernel/kvm/include/kvm_guest.h | 2 + testcases/kernel/kvm/include/kvm_x86.h | 19 +- testcases/kernel/kvm/include/kvm_x86_vmx.h | 201 ++++++++ testcases/kernel/kvm/kvm_pagefault01.c | 59 +-- testcases/kernel/kvm/kvm_vmx01.c | 282 +++++++++++ testcases/kernel/kvm/lib_guest.c | 12 + testcases/kernel/kvm/lib_x86.c | 515 +++++++++++++++++++++ 13 files changed, 1322 insertions(+), 112 deletions(-) create mode 100644 testcases/kernel/kvm/include/kvm_x86_vmx.h create mode 100644 testcases/kernel/kvm/kvm_vmx01.c
Signature · 5 lines
2.47.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp