>>> On 31.10.18 at 11:53, <[email protected]> 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
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to