From: Keir Fraser Subject: Re: [PATCH] [RFC] More fp instructions for realmode emulation (Enables booting OS/2 as a HVM guest on Intel/VT hardware) Date: Mon, 03 Mar 2008 15:00:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andi Kleen Cc: xen-devel , Trolle Selander List-Id: xen-devel@lists.xenproject.org On 3/3/08 14:52, "Andi Kleen" wrote: >> Intel SDM Volume 1 Section 8.6 (?X87 FPU Exception Synchronization?) is very >> helpful in this regard. It confirms my suspicions, that we will need to wrap >> the FPU inline asms in some fixup glue. The only exceptions to this rule are > > Yes you definitely need to. That was a kernel crash bug on native Linux > some time ago... > > Also you need to do the same for any FXSAVEs/FXRSTORs if you haven't already. FXSAVE/FXRSTOR do not flush pending FPU exceptions, right? -- Keir