From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2.1] KVM: SVM: Add support for AMD's OSVW feature in guests Date: Mon, 9 Jan 2012 10:14:09 -0200 Message-ID: <20120109121409.GE5255@amt.cnet> References: <1325866436-22553-1-git-send-email-ostr@amd64.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@redhat.com, Joerg.Roedel@amd.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, boris.ostrovsky@amd.com To: Boris Ostrovsky Return-path: Content-Disposition: inline In-Reply-To: <1325866436-22553-1-git-send-email-ostr@amd64.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Jan 06, 2012 at 11:13:56AM -0500, Boris Ostrovsky wrote: > From: Boris Ostrovsky > > In some cases guests should not provide workarounds for errata even when the > physical processor is affected. For example, because of erratum 400 on family > 10h processors a Linux guest will read an MSR (resulting in VMEXIT) before > going to idle in order to avoid getting stuck in a non-C0 state. This is not > necessary: HLT and IO instructions are intercepted and therefore there is no > reason for erratum 400 workaround in the guest. > > This patch allows us to present a guest with certain errata as fixed, > regardless of the state of actual hardware. > > Signed-off-by: Boris Ostrovsky Patch does not apply, please regenerate against git://git.kernel.org/pub/scm/virt/kvm/kvm.git master branch.