Skip to content

KVM: nSVM: Check reserved bits in DR6, DR7 and EFER on vmrun of nested guests

Krish Sadhukhan kvm 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: x86: Move the check for upper 32 reserved bits of DR6 to separate functionarch/x86/kvm/x86.c arch/x86/kvm/x86.h+6 -10 replies
2/4KVM: nSVM: Check that DR6[63:32] and DR7[64:32] are not set on vmrun of nested guestsarch/x86/kvm/svm/nested.c+3 -00 replies
3/4kvm-unit-tests: nSVM: Test that DR6[63:32], DR7[63:32] and EFER reserved bits are not set on vmrun of nested guestsx86/svm.h x86/svm_tests.c+42 -200 replies
4/4kvm-unit-tests: x86: Remove duplicate instance of 'vmcb'x86/svm.c+0 -10 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/4] KVM: nSVM: Check reserved bits in DR6, DR7 and EFER on vmrun of nested guests

Patch# 1: Moves the check for upper 32 reserved bits of DR6 to a new function. Patch# 2: Adds the KVM checks for DR6[63:32] and DR7[64:32] reserved bits Patch# 3: Adds kvm-unit-tests for DR6[63:32] and DR7[64:32] reserved bits and
reserved bits in EFER
Patch# 4: Removes the duplicate definition of 'vmcb' that sneaked via one of
my previous patches.

[PATCH 1/4] KVM: x86: Move the check for upper 32 reserved bits of [PATCH 2/4] KVM: nSVM: Check that DR6[63:32] and DR7[64:32] are not [PATCH 3/4] kvm-unit-tests: nSVM: Test that DR6[63:32], DR7[63:32] [PATCH 4/4] kvm-unit-tests: x86: Remove duplicate instance of 'vmcb'

 arch/x86/kvm/svm/nested.c | 3 +++
 arch/x86/kvm/x86.c        | 2 +-
 arch/x86/kvm/x86.h        | 5 +++++
 3 files changed, 9 insertions(+), 1 deletion(-)

Krish Sadhukhan (2):
KVM: x86: Move the check for upper 32 reserved bits of DR6 to separate fun
KVM: nVMX: Check that DR6[63:32] and DR7[64:32] are not set on vmrun of ne

 x86/svm.c       |  1 -
 x86/svm.h       |  3 +++
 x86/svm_tests.c | 59 ++++++++++++++++++++++++++++++++++++++-------------------
 3 files changed, 42 insertions(+), 21 deletions(-)

Krish Sadhukhan (2):
kvm-unit-tests: nSVM: Test that DR6[63:32], DR7[63:32] and EFER reserved b
kvm-unit-tests: x86: Remove duplicate instance of 'vmcb'