mbox series

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

Message ID 20210203004035.101292-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 Feb. 3, 2021, 12:40 a.m. UTC
v2 -> v3:
	1. Moved the #defines for IOPM_ALLOC_ORDER and MSRPM_ALLOC_ORDER so
	   that they can be used by nested_vmcb_check_controls()
	2. Fixed the wrong check in nested_vmcb_check_controls() in patch# 2
	   (which was patch# 1 in v2).
	3. Added a clean-up patch for nested_svm_vmrun().


[PATCH 1/5 v3] KVM: SVM: Move IOPM_ALLOC_ORDER and MSRPM_ALLOC_ORDER
[PATCH 2/5 v3] nSVM: Check addresses of MSR and IO bitmap
[PATCH 3/5 v3] KVM: nSVM: Cleanup in nested_svm_vmrun()
[PATCH 4/5 v3] Test: nSVM: Test MSR and IO bitmap address
[PATCH 5/5 v3] Test: SVM: Use ALIGN macro when aligning 'io_bitmap_area'

 arch/x86/kvm/svm/nested.c | 63 +++++++++++++++++++++++++++--------------------
 arch/x86/kvm/svm/svm.c    |  3 ---
 arch/x86/kvm/svm/svm.h    |  3 +++
 3 files changed, 39 insertions(+), 30 deletions(-)

Krish Sadhukhan (3):
      KVM: SVM: Move IOPM_ALLOC_ORDER and MSRPM_ALLOC_ORDER #defines to svm.h
      nSVM: Check addresses of MSR and IO bitmap
      KVM: nSVM: Cleanup in nested_svm_vmrun()

 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'