From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Invalid op code emulation for HVM guest and GPF Date: Fri, 23 Mar 2012 19:38:51 +0000 Message-ID: <4F6CD14B.4020701@citrix.com> References: <20120323114425.07bd6db7@mantra.us.oracle.com> <4F6CCD1A.4090505@citrix.com> <20120323123042.5ebc0e18@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120323123042.5ebc0e18@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" , "kris.van.hees@oracle.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 23/03/12 19:30, Mukesh Rathor wrote: > On Fri, 23 Mar 2012 19:20:58 +0000 > Andrew Cooper wrote: > >> Patch attached. >> >> Not tested, but seems logically correct. >> >> @Mukesh: Do you mind testing please? >> > Sure. Let me build xen with fix and give to Dtrace developers. > > thanks, > Mueksh Sadly, given your other email, I doubt it will work, because of the big catch all regarding the lock prefix. A brief scan over the Intel manuals and I cant see a case where an incorrect LOCK prefix would cause #GPF rather than #UD. Perhaps try changing it to EXP_UD instead of EXP_GP. (Although I make no guarantee that this wont cause a lot of things to break.) -- Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com