From: Keir Fraser Date: Tue, 4 Mar 2008 13:28:00 +0000 (+0000) Subject: x86_emulate: Load FPU context before FWAIT. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14274 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bef098a19f6a341ffa304a4d4820d48e573df69d;p=xen.git x86_emulate: Load FPU context before FWAIT. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/x86_emulate.c b/xen/arch/x86/x86_emulate.c index 57836fea89..224cefb52c 100644 --- a/xen/arch/x86/x86_emulate.c +++ b/xen/arch/x86/x86_emulate.c @@ -2383,6 +2383,8 @@ x86_emulate( } case 0x9b: /* wait/fwait */ + fail_if(ops->load_fpu_ctxt == NULL); + ops->load_fpu_ctxt(ctxt); __emulate_fpu_insn("fwait"); break;