kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krish Sadhukhan <krish.sadhukhan@oracle.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, jmattson@google.com, seanjc@google.com
Subject: [PATCH 0/3 v2] KVM: nSVM: Check addresses of MSR bitmap and IO bitmap tables on vmrun of nested guests
Date: Sat, 16 Jan 2021 02:20:36 +0000	[thread overview]
Message-ID: <20210116022039.7316-1-krish.sadhukhan@oracle.com> (raw)

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'


             reply	other threads:[~2021-01-16  2:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16  2:20 Krish Sadhukhan [this message]
2021-01-16  2:20 ` [PATCH 1/3 v2] nSVM: Check addresses of MSR and IO bitmap Krish Sadhukhan
2021-01-20  0:45   ` Sean Christopherson
2021-01-21  0:36     ` Krish Sadhukhan
2021-01-16  2:20 ` [PATCH 2/3 v2] Test: nSVM: Test MSR and IO bitmap address Krish Sadhukhan
2021-01-16  2:20 ` [PATCH 3/3 v2] Test: SVM: Use ALIGN macro when aligning 'io_bitmap_area' Krish Sadhukhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210116022039.7316-1-krish.sadhukhan@oracle.com \
    --to=krish.sadhukhan@oracle.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).