[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] X86-MCE: fix a bug of xen-mceinj tool
>>> On 16.12.11 at 15:55, "Liu, Jinsong" <jinsong.liu@xxxxxxxxx> wrote: > X86-MCE: fix a bug of xen-mceinj tool > > Fix a bug of xen-mceinj tool which used to test mce by software way. > > Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> > diff -r 86defe150053 tools/tests/mce-test/tools/xen-mceinj.c > --- a/tools/tests/mce-test/tools/xen-mceinj.c Fri Dec 16 16:24:31 2011 +0800 > +++ b/tools/tests/mce-test/tools/xen-mceinj.c Fri Dec 16 22:33:26 2011 +0800 > @@ -135,7 +135,7 @@ static int mca_cpuinfo(xc_interface *xc_ > struct xen_mc mc; > > mc.cmd = XEN_MC_physcpuinfo; > - if (xc_mca_op(xc_handle, &mc)) > + if (!xc_mca_op(xc_handle, &mc)) > return mc.u.mc_physcpuinfo.ncpus; > else > return 0; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |