Skip to content

Few nSVM bugfixes

Maxim Levitsky kvm lkml oe-kbuild 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3SVM: nSVM: correctly restore GIF on vmexit from nesting after migrationarch/x86/kvm/svm/nested.c+3 -11 reply
2/3SVM: nSVM: setup nested msr permission bitmap on nested state loadarch/x86/kvm/svm/nested.c+3 -00 replies
3/3KVM: nSVM: more strict SMM checks when returning to nested guestarch/x86/kvm/svm/svm.c+18 -112 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/3] Few nSVM bugfixes

This patch series contains few nested SVM fixes from testing I did this weekend.

Patch #1 fixes issue where we were setting the GIF (global interrupt flag) on first nested VMexit, after migration thus making the nested guest crash from unexpected interrupts.

Patch #2 is my observation that we never setup nesed msr bitmap on nested state load after migration.

Patch #3 was 'migrated' ;-) from my other patch series to make it smaller, which is about more strict checks when we about to return to a nested guest, from SMM.

Best regards,
Maxim Levitsky

Maxim Levitsky (3):
SVM: nSVM: correctly restore GIF on vmexit from nesting after
migration
SVM: nSVM: setup nested msr permission bitmap on nested state load
KVM: nSVM: more strict SMM checks when returning to nested guest

 arch/x86/kvm/svm/nested.c |  7 ++++++-
 arch/x86/kvm/svm/svm.c    | 29 ++++++++++++++++++-----------
 2 files changed, 24 insertions(+), 12 deletions(-)
Signature · 1 line
2.26.2