Skip to content

My set of KVM unit tests + fixes

Maxim Levitsky kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7pmu_lbr: few fixesx86/pmu_lbr.c x86/unittests.cfg+7 -00 replies
2/7svm: Fix reg_corruption test, to avoid timer interrupt firing in later tests.x86/svm_tests.c+7 -20 replies
3/7svm: NMI is an "exception" and not interrupt in x86 landx86/svm_tests.c+2 -30 replies
4/7svm: intercept shutdown in all svm tests by defaultx86/svm.c+3 -10 replies
5/7svm: add SVM_BARE_VMRUNx86/svm.c x86/svm.h+47 -320 replies
6/7svm: add tests for LBR virtualizationlib/x86/processor.h x86/svm.c x86/svm.h +2 more+250 -20 replies
7/7svm: add tests for case when L1 intercepts various hardware interrupts (an interrupt, SMI, NMI), but lets L2 control either EFLAG.IF or GIFx86/svm.h x86/svm_tests.c+205 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] My set of KVM unit tests + fixes

Those are few kvm unit tests tha I developed.

Best regards,
Maxim Levitsky

Maxim Levitsky (7):
pmu_lbr: few fixes
svm: Fix reg_corruption test, to avoid timer interrupt firing in later
tests.
svm: NMI is an "exception" and not interrupt in x86 land
svm: intercept shutdown in all svm tests by default
svm: add SVM_BARE_VMRUN
svm: add tests for LBR virtualization
svm: add tests for case when L1 intercepts various hardware interrupts
(an interrupt, SMI, NMI), but lets L2 control either EFLAG.IF or GIF

 lib/x86/processor.h |   1 +
 x86/pmu_lbr.c       |   6 +
 x86/svm.c           |  41 +---
 x86/svm.h           |  63 ++++++-
 x86/svm_tests.c     | 447 +++++++++++++++++++++++++++++++++++++++++++-
 x86/unittests.cfg   |   3 +-
 6 files changed, 521 insertions(+), 40 deletions(-)
Signature · 1 line
2.26.3