From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] retry instruction on svm emulation failure Date: Wed, 18 May 2011 11:08:30 +0100 Message-ID: References: <8605c877b972c82a3859.1305708728@yakj.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8605c877b972c82a3859.1305708728@yakj.usersys.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Paolo Bonzini , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/05/2011 10:05, "Paolo Bonzini" wrote: > retry instruction on svm emulation failure > > Upon emulation failure, Xen injects a #GP into the guest on AMD machines. > However, this kind of #GP does not happen in hardware. It is possible > (and was observed in practice) that the failure is transient. It will > go away naturally if the instruction is retried, because the guest will > be executing other code and will not exit. It begs the question why we were emulating the instruction in the first place. I'd like to see further explanation, with a concrete example, before applying this patch. Or get an Ack from an AMD maintainer. -- Keir