v1 -> v2: In patch# 1, the parameter to nested_vmcb_check_controls() has been changed to 'struct kvm_vcpu' from 'struct vcpu_svm'. This necessiated relevant changes to its callers. Also, the new checks in nested_vmcb_check_controls() now use page_address_valid() instead of duplicating code. It has also been rebased to v5.11-rc3. [PATCH 1/3 v2] nSVM: Check addresses of MSR and IO bitmap [PATCH 2/3 v2] Test: nSVM: Test MSR and IO bitmap address [PATCH 3/3 v2] Test: SVM: Use ALIGN macro when aligning 'io_bitmap_area' arch/x86/kvm/svm/nested.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) Krish Sadhukhan (1): nSVM: Check addresses of MSR and IO bitmap x86/svm.c | 2 +- x86/svm_tests.c | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) Krish Sadhukhan (2): nSVM: Test MSR and IO bitmap address SVM: Use ALIGN macro when aligning 'io_bitmap_area'