public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yu Zhang <yu.c.zhang@linux.intel.com>
To: seanjc@google.com, pbonzini@redhat.com, vkuznets@redhat.com
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org
Subject: [PATCH v2 0/2] Cleanups for pointer usages in nVMX.
Date: Thu, 30 Sep 2021 01:51:52 +0800	[thread overview]
Message-ID: <20210929175154.11396-1-yu.c.zhang@linux.intel.com> (raw)

Replace usages of "-1ull" with INVALID_GPA. And reset the vmxon_ptr
when emulating vmxoff.

v2:
  Added patch to replace usages of "-1ull" with INVALID_GPA.

Vitaly Kuznetsov (1):
  KVM: nVMX: Reset vmxon_ptr upon VMXOFF emulation.

Yu Zhang (1):
  KVM: nVMX: Use INVALID_GPA for pointers used in nVMX.

 arch/x86/kvm/vmx/nested.c | 61 ++++++++++++++++++++-------------------
 arch/x86/kvm/vmx/vmx.c    |  5 ++--
 2 files changed, 34 insertions(+), 32 deletions(-)

-- 
2.25.1


             reply	other threads:[~2021-09-29 10:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 17:51 Yu Zhang [this message]
2021-09-29 12:55 ` [PATCH v2 0/2] Cleanups for pointer usages in nVMX Paolo Bonzini
2021-09-29 17:51 ` [PATCH v2 1/2] KVM: nVMX: Use INVALID_GPA for pointers used " Yu Zhang
2021-09-29 17:51 ` [PATCH v2 2/2] KVM: nVMX: Reset vmxon_ptr upon VMXOFF emulation Yu Zhang

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=20210929175154.11396-1-yu.c.zhang@linux.intel.com \
    --to=yu.c.zhang@linux.intel.com \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.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