mbox series

[0/3,v2] KVM: nSVM: Check addresses of MSR bitmap and IO bitmap tables on vmrun of nested guests

Message ID 20210116022039.7316-1-krish.sadhukhan@oracle.com (mailing list archive)
Headers show
Series KVM: nSVM: Check addresses of MSR bitmap and IO bitmap tables on vmrun of nested guests | expand

Message

Krish Sadhukhan Jan. 16, 2021, 2:20 a.m. UTC
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'