[PATCH 0/5 v6] KVM: nSVM: Check addresses of MSR bitmap and IO bitmap tables on vmrun of nested guests

Krish Sadhukhan
2021-04-02T01:33:06Z

v5 -> v6:
Rebased all patches.

[PATCH 1/5 v6] KVM: SVM: Define actual size of IOPM and MSRPM tables
[PATCH 2/5 v6] nSVM: Check addresses of MSR and IO permission maps
[PATCH 3/5 v6] KVM: nSVM: Cleanup in nested_svm_vmrun()
[PATCH 4/5 v6] nSVM: Test addresses of MSR and IO permissions maps
[PATCH 5/5 v6] SVM: Use ALIGN macro when aligning 'io_bitmap_area'

arch/x86/kvm/svm/nested.c | 54 ++++++++++++++++++++++++++++++-----------------
arch/x86/kvm/svm/svm.c | 20 +++++++++---------
arch/x86/kvm/svm/svm.h | 3 +++
3 files changed, 48 insertions(+), 29 deletions(-)

Krish Sadhukhan (3):
KVM: SVM: Define actual size of IOPM and MSRPM tables
nSVM: Check addresses of MSR and IO permission maps
KVM: nSVM: Cleanup in nested_svm_vmrun()

x86/svm.c | 2 +-
x86/svm_tests.c | 42 +++++++++++++++++++++++++++++++++++++++++-
2 files changed, 42 insertions(+), 2 deletions(-)

Krish Sadhukhan (2):
nSVM: Test addresses of MSR and IO permissions maps
SVM: Use ALIGN macro when aligning 'io_bitmap_area'