Re: [Xen-devel] [PATCH 19/19] tools/xen-mceinj: support injecting LMCE

2017-02-21 Thread Wei Liu
On Tue, Feb 21, 2017 at 07:50:38AM +0800, Haozhong Zhang wrote: > On 02/20/17 12:53 +, Wei Liu wrote: > > > } > > > > > > +static int inject_lmce(xc_interface *xc_handle, uint32_t cpu_nr) > > > +{ > > > +struct xen_mc mc; > > > +uint8_t *cpumap = NULL; > > > +size_t cpumap_size,

Re: [Xen-devel] [PATCH 19/19] tools/xen-mceinj: support injecting LMCE

2017-02-20 Thread Haozhong Zhang
On 02/20/17 12:53 +, Wei Liu wrote: > On Fri, Feb 17, 2017 at 02:39:36PM +0800, Haozhong Zhang wrote: > > If option '-l' or '--lmce' is specified and the host supports LMCE, > > xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c' > > is not present). > > > > Signed-off-by: Ha

Re: [Xen-devel] [PATCH 19/19] tools/xen-mceinj: support injecting LMCE

2017-02-20 Thread Wei Liu
On Fri, Feb 17, 2017 at 02:39:36PM +0800, Haozhong Zhang wrote: > If option '-l' or '--lmce' is specified and the host supports LMCE, > xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c' > is not present). > > Signed-off-by: Haozhong Zhang > --- > Cc: Ian Jackson > Cc: Wei Liu

[Xen-devel] [PATCH 19/19] tools/xen-mceinj: support injecting LMCE

2017-02-16 Thread Haozhong Zhang
If option '-l' or '--lmce' is specified and the host supports LMCE, xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c' is not present). Signed-off-by: Haozhong Zhang --- Cc: Ian Jackson Cc: Wei Liu --- tools/libxc/include/xenctrl.h | 1 + tools/libxc/xc_misc.c