x86emul: correct {,v}{ld,st}mxcsr handling
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 17:20:27 +0000 (18:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 17:20:27 +0000 (18:20 +0100)
commitff0bced09f91d0698c8a9b2b3c3c0b885cdff7e0
tree0d623f5d7a2cd33e47db69b865dd842f54e8b7c3
parent9e4d116faff4545a7f21c2b01008e94d68e6db58
x86emul: correct {,v}{ld,st}mxcsr handling

Calls to get_fpu() were missing. Calls to put_fpu() are deliberately
not being added: Neither instruction can raise #XM, so the catch-all
_put_fpu() is just fine here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c