x86: guard against #NM
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:08:04 +0000 (09:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Jun 2018 07:08:04 +0000 (09:08 +0200)
commit00cebd6f22beb6d5fa65ed2d8d1ff9acf59bce61
tree20fb09a301206142a1e068ea8f98531c3f2c5119
parent488efc29e4e996bb3805c982200f65061390cdce
x86: guard against #NM

Just in case we still don't get CR0.TS handling right, prevent a host
crash by honoring exception fixups in do_device_not_available(). This
would in particular cover emulator stubs raising #NM.

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