x86/vmce: enable injecting LMCE to guest on Intel host
authorHaozhong Zhang <haozhong.zhang@intel.com>
Fri, 14 Jul 2017 10:44:01 +0000 (12:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Jul 2017 10:44:01 +0000 (12:44 +0200)
commit6954fcd55d6d0271151d41ae58310a93cbf94744
tree0487751e0b9982bbf0973e6d8546573b74da49c6
parente2fea563b9764933fa4e6623217c046e64890114
x86/vmce: enable injecting LMCE to guest on Intel host

Inject LMCE to guest if the host MCE is LMCE and the affected vcpu is
known. Otherwise, broadcast MCE to all vcpus on Intel host.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mcaction.c
xen/arch/x86/cpu/mcheck/vmce.c
xen/arch/x86/cpu/mcheck/vmce.h