[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/misc/xenpm: fix getting info when some CPUs are offline
>>> On 31.10.18 at 11:53, <marmarek@xxxxxxxxxxxxxxxxxxxxxx> wrote: > On Wed, Oct 31, 2018 at 03:33:58AM -0600, Jan Beulich wrote: >> I'm also afraid there are further quirks here, with various constructs >> along the lines of (as bodies of aforementioned for()) >> >> if ( show_cxstat_by_cpuid(xc_handle, i) == -ENODEV ) >> break; >> >> which I suspect would terminate processing early when hitting a true >> gap (i.e. not one resulting from a parked CPU). > > How that would happen? Hotplug? xen-hptool on AMD might trigger this, afaict. > Also I've tried to look at error codes to distinguish offline cpu and > avoid printing that error, but looks EINVAL is used for a lot of cases. Yeah, the common problem with EINVAL. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |