Re: [Xen-devel] [PATCH v3 5/9] x86/vmce: enable injecting LMCE to guest on Intel host

2017-03-30 Thread Jan Beulich
>>> On 30.03.17 at 08:19, wrote: > --- a/xen/arch/x86/cpu/mcheck/mcaction.c > +++ b/xen/arch/x86/cpu/mcheck/mcaction.c > @@ -44,6 +44,7 @@ mc_memerr_dhandler(struct mca_binfo *binfo, > unsigned long mfn, gfn; > uint32_t status; > int vmce_vcpuid; > +uint16_t mc_vcpuid; Any reas

[Xen-devel] [PATCH v3 5/9] x86/vmce: enable injecting LMCE to guest on Intel host

2017-03-29 Thread Haozhong Zhang
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 --- Cc: Jan Beulich Cc: Andrew Cooper Changes in v3: * Adjust a check in mc_memerr_dhandler() and add code comment for it. --- xen/a