lkml.org 
[lkml]   [2020]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH kvm-unit-tests v2 0/3] svm: INIT test and test_run on selected vcpu
Date
INIT intercept test and the ability to execute test_run
on a selected vcpu

Changes from v1:

1) Incorporated feedback:
- DR6/DR7/CR2/DEBUGCTL should not be need.
- HSAVE should be set to a different page for each vCPU
- The on_cpu to set EFER should be in setup_svm
- The on_cpu to set cr0/cr3/cr4 should be in setup_vm.

2) Execute tests on selected vcpu using on_cpu_async so the tests
may use the on_cpu functions without causing an ipi_lock deadlock.

3) Added additional test svm_init_startup_test which inits the vcpu and
restarts with sipi.

Cathy Avery (3):
svm: Add ability to execute test via test_run on a vcpu other than
vcpu 0
svm: INIT and STARTUP ipi test
svm: INIT intercept test

lib/x86/vm.c | 18 +++++++++
lib/x86/vm.h | 7 ++++
x86/cstart64.S | 1 +
x86/svm.c | 24 +++++++++++-
x86/svm.h | 2 +
x86/svm_tests.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 148 insertions(+), 1 deletion(-)

--
2.20.1

\
 
 \ /
  Last update: 2020-07-17 13:34    [W:1.597 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site