[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150313122502.GA11309@amt.cnet>
Date: Fri, 13 Mar 2015 09:25:02 -0300
From: Marcelo Tosatti <mtosatti@...hat.com>
To: Wincy Van <fanwenyi0529@...il.com>
Cc: bsd@...hat.com, pbonzini@...hat.com, gleb@...nel.org,
yang.z.zhang@...el.com, wanpeng.li@...ux.intel.com,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
jan.kiszka@....de, yong.y.wang@...ux.intel.com
Subject: Re: [PATCH v2] KVM: vmx: Set msr bitmap correctly if vcpu is in
guest mode
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@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists