public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Wincy Van <fanwenyi0529@gmail.com>
Cc: bsd@redhat.com, pbonzini@redhat.com, gleb@kernel.org,
	yang.z.zhang@intel.com, wanpeng.li@linux.intel.com,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	jan.kiszka@web.de, yong.y.wang@linux.intel.com
Subject: Re: [PATCH v2] KVM: vmx: Set msr bitmap correctly if vcpu is in guest mode
Date: Fri, 13 Mar 2015 09:25:02 -0300	[thread overview]
Message-ID: <20150313122502.GA11309@amt.cnet> (raw)
In-Reply-To: <1425450716-2216-1-git-send-email-fanwenyi0529@gmail.com>

On Wed, Mar 04, 2015 at 02:31:56PM +0800, Wincy Van wrote:
> In commit 3af18d9c5fe9 ("KVM: nVMX: Prepare for using hardware MSR bitmap"),
> we are setting MSR_BITMAP in prepare_vmcs02 if we should use hardware. This
> is not enough since the field will be modified by following vmx_set_efer.
> 
> Fix this by setting vmx_msr_bitmap_nested in vmx_set_msr_bitmap if vcpu is
> in guest mode.
> 
> Signed-off-by: Wincy Van <fanwenyi0529@gmail.com>

Applied, thanks.


      parent reply	other threads:[~2015-03-13 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04  6:31 [PATCH v2] KVM: vmx: Set msr bitmap correctly if vcpu is in guest mode Wincy Van
2015-03-04 15:58 ` Bandan Das
2015-03-05  2:53   ` Wincy Van
2015-03-13 12:25 ` Marcelo Tosatti [this message]

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=20150313122502.GA11309@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=bsd@redhat.com \
    --cc=fanwenyi0529@gmail.com \
    --cc=gleb@kernel.org \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=wanpeng.li@linux.intel.com \
    --cc=yang.z.zhang@intel.com \
    --cc=yong.y.wang@linux.intel.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