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

Sean Christopherson
2021-04-02T17:38:38Z

On Thu, Apr 01, 2021, Krish Sadhukhan wrote:
> v5 -> v6:
> Rebased all patches.

Please rebase to kvm/queue, not kvm/master. All of the patches conflict, and
the conflicts in patches 02 and 03 are not trivial.

> [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'
>